Skip to content

Commit

Permalink
integrate tests into release
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Nov 12, 2023
1 parent eacd53e commit 198bfa3
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,29 @@ jobs:
run: sudo apt update
if: matrix.os == 'ubuntu-20.04'

- name: Install libheif for ubuntu
run: |
./build_deps_linux.sh
cd libheif/build && sudo make install
if: matrix.os == 'ubuntu-20.04'

- name: Update Rust
run: rustup update

- name: Install linux classic dependencies
run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev
if: matrix.os == 'ubuntu-20.04'

- name: Install libheif for Windows
run: |
vcpkg integrate install
vcpkg install libheif:x64-windows-static-md
if: matrix.os == 'windows-2019'

- name: Build Windows Application
run: cargo build --release
run: cargo build --release --features heif
if: matrix.os == 'windows-2019'

# - name: Zip Windows
# run: zip -r oculante_windows.zip target/release/oculante.exe
# if: matrix.os == 'windows-2019'

- name: Build Linux classic Application
run: |
Expand All @@ -97,9 +106,6 @@ jobs:
cp target/debian/oculante_*.deb oculante.deb
if: matrix.os == 'ubuntu-20.04'

# - name: Zip Linux
# run: zip -r oculante_linux.zip target/release/oculante
# if: matrix.os == 'ubuntu-20.04'

- name: Build Mac Bundle
run: ./build_mac.sh
Expand Down

0 comments on commit 198bfa3

Please sign in to comment.