Skip to content

Commit

Permalink
hopefully fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hiarthurbr committed Jul 31, 2023
1 parent 744fcdc commit c18036b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 4 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/check-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
- uses: actions/checkout@v3
- name: Setup compiler
run: rustup update stable && rustup default stable
- name: Install gdk-3.0
run: sudo apt install -y libgdk3.0-cil-dev
- name: Install libsoup2
run: sudo apt install -y libsoup2.4-dev
- name: Install libjavascriptcoregtk
run: sudo apt install -y libjavascriptcoregtk-4.0-dev
- name: Install libwebkit2gtk
run: sudo apt install -y libwebkit2gtk-4.0-dev
- name: Install librsvg2
run: sudo apt install -y librsvg2-dev
- name: Install libssl
run: sudo apt install -y libssl-dev
- name: Check
run: cargo check --verbose
- name: Run tests
Expand All @@ -29,6 +41,18 @@ jobs:
run: rustup update beta && rustup default beta
- name: Setup formatter
run: rustup component add rustfmt --toolchain beta
- name: Install gdk-3.0
run: sudo apt install -y libgdk3.0-cil-dev
- name: Install libsoup2
run: sudo apt install -y libsoup2.4-dev
- name: Install libjavascriptcoregtk
run: sudo apt install -y libjavascriptcoregtk-4.0-dev
- name: Install libwebkit2gtk
run: sudo apt install -y libwebkit2gtk-4.0-dev
- name: Install librsvg2
run: sudo apt install -y librsvg2-dev
- name: Install libssl
run: sudo apt install -y libssl-dev
- name: Check
run: cargo check --verbose
- name: Run tests
Expand All @@ -44,6 +68,18 @@ jobs:
run: rustup update nightly && rustup default nightly
- name: Setup formatter
run: rustup component add rustfmt --toolchain nightly
- name: Install gdk-3.0
run: sudo apt install -y libgdk3.0-cil-dev
- name: Install libsoup2
run: sudo apt install -y libsoup2.4-dev
- name: Install libjavascriptcoregtk
run: sudo apt install -y libjavascriptcoregtk-4.0-dev
- name: Install libwebkit2gtk
run: sudo apt install -y libwebkit2gtk-4.0-dev
- name: Install librsvg2
run: sudo apt install -y librsvg2-dev
- name: Install libssl
run: sudo apt install -y libssl-dev
- name: Check
run: cargo check --verbose
- name: Run tests
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ jobs:
- uses: actions/checkout@v3
- name: Setup compiler
run: rustup update stable && rustup default stable
- name: Install gdk-3.0
run: sudo apt install -y libgdk3.0-cil-dev
- name: Install libsoup2
run: sudo apt install -y libsoup2.4-dev
- name: Install libjavascriptcoregtk
run: sudo apt install -y libjavascriptcoregtk-4.0-dev
- name: Install libwebkit2gtk
run: sudo apt install -y libwebkit2gtk-4.0-dev
- name: Install librsvg2
run: sudo apt install -y librsvg2-dev
- name: Install libssl
run: sudo apt install -y libssl-dev
- name: Check
run: cargo check --release --verbose
- name: Run tests
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/lint-gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ jobs:
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Enter GUI directory
run: cd src/gui
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: cd src/gui && pnpm install --frozen-lockfile
- name: Build with Next.js
run: pnpm build
run: cd src/gui && pnpm build

0 comments on commit c18036b

Please sign in to comment.