Skip to content

Commit

Permalink
ci: test binaries on MAC too
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume W. Bres <[email protected]>
  • Loading branch information
gwbres committed Nov 27, 2023
1 parent 74d3c2c commit 8d23859
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,33 @@ jobs:
with:
command: build
args: -p crx2rnx --all-features --release --verbose

macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
name: RINEXCLI
with:
command: build
args: -p rinex-cli --all-features --release --verbose

This comment has been minimized.

Copy link
@larsnaesbye

larsnaesbye Nov 27, 2023

Collaborator

Can we try adding --target aarch64-apple-darwin to args under build? That would build for ARM chips.

This comment has been minimized.

Copy link
@gwbres

gwbres Nov 27, 2023

Author Collaborator

Can we try adding --target aarch64-apple-darwin to args under build? That would build for ARM chips.

Hello,

Is this a cross build but on MAC ? So i understand correctly.

Yes I can give it a try, but this will take place in the release script, here we're just testing the build process (on other architectures)

This comment has been minimized.

Copy link
@larsnaesbye

larsnaesbye Nov 27, 2023

Collaborator

Brilliant. I just noticed you did add it to the release script :)

This comment has been minimized.

Copy link
@gwbres

gwbres Nov 27, 2023

Author Collaborator

you can take a look at the latest cggtts releases, it will give you a better idea of what it will look like

- uses: actions-rs/cargo@v1
name: RNX2CGGTS
with:
command: build
args: -p rnx2cggtts --all-features --release --verbose
- uses: actions-rs/cargo@v1
name: RNX2CRNX
with:
command: build
args: -p rnx2crx --all-features --release --verbose
- uses: actions-rs/cargo@v1
name: CRX2RNX
with:
command: build
args: -p crx2rnx --all-features --release --verbose

0 comments on commit 8d23859

Please sign in to comment.