workflow try 6... (try5 had segmentation fault)

This commit is contained in:
WanderingPenwing 2024-07-22 17:00:40 +02:00
parent 0604673e8e
commit 89fa165f49

View file

@ -41,12 +41,26 @@ jobs:
run: rustup target add ${{ matrix.target }} run: rustup target add ${{ matrix.target }}
- name: Install dependencies for tinyfiledialogs - name: Install dependencies for tinyfiledialogs
if: matrix.target == 'x86_64-unknown-linux-musl'
run: | run: |
sudo apt-get install -y libx11-dev libglib2.0-dev sudo apt-get install -y libx11-dev libglib2.0-dev
- name: Check Rust target installation
run: rustup target list --installed
- name: Compile the app - name: Compile the app
run: cargo build --release --target ${{ matrix.target }} run: |
echo "Compiling for target: ${{ matrix.target }}"
cargo build --release --target ${{ matrix.target }}
- name: Debugging - Check compiled binary
run: |
echo "Listing the compiled files:"
ls -lh target/${{ matrix.target }}/release/
- name: Run the app (for testing purposes)
run: |
echo "Running the compiled app for testing"
target/${{ matrix.target }}/release/calcifer --help || true
- name: Create tarball - name: Create tarball
run: | run: |