Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ jobs:
- name: Build project
run: ninja -C ${{ env.BUILD_DIR }}

# (You can add tests here if you want for the release builds)

- name: Install project
run: |
ninja -C ${{ env.BUILD_DIR }} install
Expand All @@ -159,11 +157,17 @@ jobs:
cp COPYING crest/LICENSE
cp COPYING.LESSER crest/LICENSE.LESSER
cp _dist/bin/crest crest/
OUTPUT="crest-${{ matrix.toolchain.compiler }}-${{ matrix.toolchain.version }}-${{ matrix.os }}.tar"
COMPILER_NAME="${{ matrix.toolchain.compiler }}"
# Map GCC → gnu for backwards-compatible file names
if [ "$COMPILER_NAME" = "gcc" ]; then
COMPILER_NAME="gnu"
fi
OUTPUT="crest-${COMPILER_NAME}-${{ matrix.toolchain.version }}-${{ matrix.os }}.tar"
tar cvf "$OUTPUT" crest
xz -T0 "$OUTPUT"
echo "CREST_OUTPUT=${OUTPUT}.xz" >> $GITHUB_ENV


- name: Upload package
uses: actions/upload-artifact@v4
with:
Expand Down
Loading