-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e0be62
commit 62d475b
Showing
8 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ jobs: | |
#- { platform: sparc64-unknown-linux-gnu, os: linux, runner: ubuntu-latest, run: true } # Incompatible Ring: unknown Arch | ||
|
||
# MacOS | ||
- { platform: aarch64-apple-darwin, os: darwin, runner: macos-latest, run: false } | ||
- { platform: aarch64-apple-darwin, os: darwin, runner: macos-latest, run: true } | ||
- { platform: x86_64-apple-darwin, os: darwin, runner: macos-latest, run: true } | ||
|
||
# Windows | ||
|
@@ -97,13 +97,19 @@ jobs: | |
uses: taiki-e/setup-cross-toolchain-action@v1 | ||
with: | ||
target: ${{ matrix.target.platform }} | ||
- name: Install terraform | ||
if: matrix.target.run | ||
uses: hashicorp/setup-terraform@v3 | ||
- name: Setup Cache | ||
uses: Swatinem/[email protected] | ||
with: | ||
shared-key: "build-${{ matrix.toolchain }}-${{ matrix.target.platform }}" | ||
- name: Build | ||
run: | | ||
cargo build --all --locked | ||
- name: Build Examples | ||
run: | | ||
cargo build --examples --locked | ||
- name: Test | ||
if: matrix.target.run | ||
run: | | ||
|
@@ -116,6 +122,20 @@ jobs: | |
if: contains(matrix.toolchain, 'nightly') | ||
run: | | ||
cargo miri test --all --locked | ||
- name: Test Examples | ||
if: matrix.target.run | ||
shell: bash | ||
run: | | ||
rm terraform.d/bin | ||
ln -s ../target/${{ matrix.target.platform }}/debug/examples terraform.d/bin | ||
for d in examples/*/; do | ||
( | ||
cd "$d" | ||
terraform init | ||
terraform apply -auto-approve | ||
terraform destroy -auto-approve | ||
) | ||
done | ||
- name: Format | ||
run: | | ||
cargo fmt --all --check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../terraform.d |
1 change: 0 additions & 1 deletion
1
...rraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../target/debug/examples |
1 change: 1 addition & 0 deletions
1
terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_amd64/terraform-provider-null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bin/terraform-provider-null |
1 change: 1 addition & 0 deletions
1
terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/darwin_arm64/terraform-provider-null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bin/terraform-provider-null |
1 change: 1 addition & 0 deletions
1
terraform.d/plugins/localhost/aneoconsulting/null/0.1.0/linux_amd64/terraform-provider-null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bin/terraform-provider-null |
1 change: 1 addition & 0 deletions
1
...m.d/plugins/localhost/aneoconsulting/null/0.1.0/windows_amd64/terraform-provider-null.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../bin/terraform-provider-null.exe |