Skip to content

Commit

Permalink
first pass linux (#293)
Browse files Browse the repository at this point in the history
lld

deps linux in release workflow
  • Loading branch information
agouin authored May 3, 2024
1 parent 9113a35 commit 7c95e3b
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ windows-latest, macos-11, macos-14 ]
os: [ windows-latest, macos-11, macos-14, ubuntu-latest ]
name: build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -51,6 +51,11 @@ jobs:
with:
node-version: 18

# Install ld for ubuntu
- name: install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y lld libsoup2.4-dev libgdk3.0-cil-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev

- name: install dependencies (windows only)
if: matrix.os == 'windows-latest'
uses: KyleMayes/install-llvm-action@v1
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ windows-latest, macos-11, macos-14]
os: [ windows-latest, macos-11, macos-14, ubuntu-latest ]
name: build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -32,6 +32,10 @@ jobs:
- name: checkout source
uses: actions/[email protected]

- name: install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y lld libsoup2.4-dev libgdk3.0-cil-dev libjavascriptcoregtk-4.0-dev libwebkit2gtk-4.0-dev

- name: install dependencies (windows only)
if: matrix.os == 'windows-latest'
uses: KyleMayes/install-llvm-action@v1
Expand Down
25 changes: 14 additions & 11 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ poem = { version = "=1.3.55", features = ["anyhow", "rustls"] }
poem-openapi = { version = "=2.0.11", features = ["swagger-ui", "url"] }
poem-openapi-derive = "=2.0.11"

notify-rust = "=4.5.10"

# shared with libra-framework and diem
anyhow = "1.0.62"
Expand Down

0 comments on commit 7c95e3b

Please sign in to comment.