Skip to content

Commit

Permalink
Experimental wf targets (#370)
Browse files Browse the repository at this point in the history
* vendor openssl

* adjust matric.job to matrix.platform
  • Loading branch information
martintc committed Dec 5, 2023
1 parent 4ae134f commit fe4cda6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,39 +78,39 @@ jobs:
os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
bin: comtrya
name: comtry-x86_64-unknown-linux-gnu
name: comtrya-x86_64-unknown-linux-gnu
cross: false
cargo_command: cargo
skip_tests: false
- os_name: Linux-aarch64-gnu
os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
bin: comtrya
name: comtry-aarch64-unknown-linux-gnu
name: comtrya-aarch64-unknown-linux-gnu
cross: false
cargo_command: ./cross
skip_tests: true
- os_name: Windows-x86_64
os: windows-2022
target: x86_64-pc-windows-msvc
bin: comtrya
name: comtry-x86_64-pc-winfows-msvc
name: comtrya-x86_64-pc-winfows-msvc
cross: false
cargo_command: cargo
skip_tests: false
- os_name: macOS-x86_64
os: macos-12
target: x86_64-apple-darwin
bin: comtrya
name: comtry-x86_64-apple-darwin
name: comtrya-x86_64-apple-darwin
cross: false
cargo_command: cargo
skip_tests: false
- os_name: macOS-aarch64
os: macos-12
target: aarch64-apple-darwin
bin: comtrya
name: comtry-aarch64-apple-darwin
name: comtrya-aarch64-apple-darwin
cross: true
cargo_command: ./cross
skip_tests: true
Expand All @@ -130,13 +130,13 @@ jobs:
if: matrix.job.target != 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/comtrya comtrya-${{ matrix.job.target }}
mv target/release/comtrya ${{ matrix.platform.target }}
- name: Rename Binary.exe
if: matrix.job.target == 'x86_64-pc-windows-msvc'
shell: bash
run: |
mv target/release/comtrya.exe comtrya-${{ matrix.job.target }}.exe
mv target/release/comtrya.exe ${{ matrix.platform.target }}.exe
- name: Upload Artifact
if: matrix.job.target != 'x86_64-pc-windows-msvc'
Expand All @@ -149,7 +149,7 @@ jobs:
generate_release_notes: false
fail_on_unmatched_files: true
files: |
comtrya-${{ matrix.job.target }}
comtrya-${{ matrix.platform.target }}
- name: Upload Artifact.exe
if: matrix.job.target == 'x86_64-pc-windows-msvc'
Expand All @@ -162,7 +162,7 @@ jobs:
generate_release_notes: false
fail_on_unmatched_files: true
files: |
comtrya-${{ matrix.job.target }}.exe
comtrya-${{ matrix.platform.target }}.exe
build-musl:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fe4cda6

Please sign in to comment.