workflow try 6... (try5 had segmentation fault)
This commit is contained in:
parent
0604673e8e
commit
89fa165f49
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
@ -41,12 +41,26 @@ jobs:
|
|||
run: rustup target add ${{ matrix.target }}
|
||||
|
||||
- name: Install dependencies for tinyfiledialogs
|
||||
if: matrix.target == 'x86_64-unknown-linux-musl'
|
||||
run: |
|
||||
sudo apt-get install -y libx11-dev libglib2.0-dev
|
||||
|
||||
- name: Check Rust target installation
|
||||
run: rustup target list --installed
|
||||
|
||||
- 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
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue