From b58fd8ade3e11c3f43ef5b57878ffaad5c84b98b Mon Sep 17 00:00:00 2001 From: Philip Kristoffersen Date: Tue, 27 Dec 2022 15:41:12 +0100 Subject: [PATCH] Remove musl target --- .github/workflows/main.yml | 27 -------------------------- .github/workflows/release_on_v_tag.yml | 27 -------------------------- 2 files changed, 54 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8117d4..91de6cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,33 +24,6 @@ jobs: - name: Test run: | cargo test - test_Ubuntu_musl: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Rust Cache - uses: Swatinem/rust-cache@v2 - - name: dependencies - run: | - sudo apt-get update - sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev - cargo install cross - - name: Test - run: | - cross test - test_Flatpak: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Rust Cache - uses: Swatinem/rust-cache@v2 - - name: dependencies - run: | - sudo apt-get update - sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev - - name: Test - run: | - cargo test --features flatpak test_Windows: runs-on: windows-latest steps: diff --git a/.github/workflows/release_on_v_tag.yml b/.github/workflows/release_on_v_tag.yml index 01b94f2..8321fdc 100644 --- a/.github/workflows/release_on_v_tag.yml +++ b/.github/workflows/release_on_v_tag.yml @@ -35,33 +35,13 @@ jobs: asset_name: linux_BoilR args: --best --lzma strip: true - - os: ubuntu-latest - file: target/x86_64-unknown-linux-musl/release/boilr - asset_name: linux_BoilR_musl - args: -+ - target: x86_64-unknown-linux-musl - strip: false - os: windows-latest file: target/release/boilr.exe asset_name: windows_BoilR.exe args: -9 strip: false - #- os: macos-latest - # file: target/release/boilr - # asset_name: macos_x86_64_BoilR - # args: -9 - # strip: false - #- os: macos-latest - # file: target/aarch64-apple-darwin/release/boilr - # asset_name: macos_darwin_BoilR - # args: -9 - # strip: false - # target: aarch64-apple-darwin steps: - uses: actions/checkout@v3 - - name: Install cross - if: ${{ matrix.target == 'x86_64-unknown-linux-musl'}} - run: cargo install cross - name: Install dependencies if: ${{ matrix.os == 'ubuntu-latest'}} run: | @@ -71,14 +51,7 @@ jobs: id: rust_cache uses: Swatinem/rust-cache@v2 - name: Build Release Version - if: ${{ matrix.target != 'aarch64-apple-darwin' && matrix.target != 'x86_64-unknown-linux-musl'}} run: cargo build --release - - name: Build aarch64 Release Version - if: ${{matrix.target == 'aarch64-apple-darwin' }} - run: rustup target add aarch64-apple-darwin && cargo build --release --target aarch64-apple-darwin - - name: Build musl Release Version - if: ${{ matrix.target == 'x86_64-unknown-linux-musl'}} - run: cross build --release - name: Compress binaries uses: svenstaro/upx-action@v2 with: