Skip to content

Commit

Permalink
Ci release (#190)
Browse files Browse the repository at this point in the history
* attempt at fixing this step
* remove linux-gcc-musl target
* fix script

---------

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
  • Loading branch information
gwbres authored Dec 4, 2023
1 parent 04157d4 commit b791eb0
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ jobs:
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
- build: linux
os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-musl
- build: macos
os: macos-latest
rust: stable
Expand Down Expand Up @@ -79,21 +75,21 @@ jobs:
if [ "${{ matrix.os }}" = "windows-latest" ]; then
crx2rnx="target/${{ matrix.target }}/release/crx2rnx.exe"
rnx2crx="target/${{ matrix.target }}/release/rnx2crx.exe"
rinex-cli="target/${{ matrix.target }}/release/rinex-cli.exe"
rinexcli="target/${{ matrix.target }}/release/rinex-cli.exe"
rnx2cggtts="target/${{ matrix.target }}/release/rnx2cggtts.exe"
ublox-rnx="target/${{ matrix.target }}/release/ublox-rnx.exe"
ubloxrnx="target/${{ matrix.target }}/release/ublox-rnx.exe"
else
crx2rnx="target/${{ matrix.target }}/release/crx2rnx"
rnx2crx="target/${{ matrix.target }}/release/rnx2crx"
rinex-cli="target/${{ matrix.target }}/release/rinex-cli"
rinexcli="target/${{ matrix.target }}/release/rinex-cli"
rnx2cggtts="target/${{ matrix.target }}/release/rnx2cggtts"
ublox-rnx="target/${{ matrix.target }}/release/ublox-rnx"
ubloxrnx="target/${{ matrix.target }}/release/ublox-rnx"
fi
echo "CRX2RNX=$crx2rnx" >> $GITHUB_ENV
echo "RNX2CRX=$crx2rnx" >> $GITHUB_ENV
echo "RNXCLI=$rinex-cli" >> $GITHUB_ENV
echo "RNXCLI=$rinexcli" >> $GITHUB_ENV
echo "RNX2CGGTTS=$rnx2cggtts" >> $GITHUB_ENV
echo "UBX2RNX=$ublox-rnx" >> $GITHUB_ENV
echo "UBX2RNX=$ubloxrnx" >> $GITHUB_ENV
- name: Determine archive name
shell: bash
Expand All @@ -105,11 +101,11 @@ jobs:
run: |
mkdir -p "$ARCHIVE"
cp {README.md,LICENSE-MIT,LICENSE-APACHE} "$ARCHIVE"/
cp target/${{ matrix.target }}/release/"$CRX2RNX" "$ARCHIVE"/
cp target/${{ matrix.target }}/release/"$RNX2CRX" "$ARCHIVE"/
cp target/${{ matrix.target }}/release/"$RNXCLI" "$ARCHIVE"/
cp target/${{ matrix.target }}/release/"$RNX2CGGTTS" "$ARCHIVE"/
cp target/${{ matrix.target }}/release/"$UBX2RNX" "$ARCHIVE"/
cp "$CRX2RNX" "$ARCHIVE"/
cp "$RNX2CRX" "$ARCHIVE"/
cp "$RNXCLI" "$ARCHIVE"/
cp "$RNX2CGGTTS" "$ARCHIVE"/
cp "$UBX2RNX" "$ARCHIVE"/
- name: Gzip archive (Unix)
shell: bash
Expand Down

0 comments on commit b791eb0

Please sign in to comment.