Skip to content

Commit

Permalink
Change actions
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Mar 24, 2024
1 parent 7fa4546 commit 31013d9
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 61 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
cargoargs: --features build-llvm
- os: macos-12
cargoargs: --features build-llvm
# - os: macos-12
# cargoargs: --features build-llvm
# - os: windows-latest
# cargoargs: ''

Expand Down Expand Up @@ -85,19 +85,13 @@ jobs:

- if: matrix.os == 'macos-12'
run: |
wget https://github.com/macports/macports-base/releases/download/v2.7.1/MacPorts-2.7.1-12-Monterey.pkg
sudo installer -pkg ./MacPorts-2.7.1-12-Monterey.pkg -target /
sudo /opt/local/bin/port install llvm-10
echo "LLVM_SYS_110_PREFIX=/opt/local/libexec/llvm-10" >> $GITHUB_ENV
brew install llvm@12
- if: matrix.os == 'ubuntu-20.04'
run: |
wget "https://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb"
sudo apt install ./libffi6_3.2.1-8_amd64.deb
wget --no-check-certificate -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' -y
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' -y
sudo apt update
sudo apt install llvm-10 llvm-10-dev libllvm10 llvm-10-runtime
sudo apt install llvm llvm-dev libllvm llvm-runtime
- run: cargo build --release --no-default-features ${{matrix.cargoargs}}
env:
Expand Down
77 changes: 28 additions & 49 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,11 @@ wasmer-engine = "2.0"
wasmer-compiler-cranelift = { version = "2.0", optional = true }
wasmer-compiler-llvm = { version = "2.0", optional = true }

[dependencies.inkwell]
package = "inkwell"
version = "=0.1.0-beta.4"
default-features = false
features = ["llvm12-0"]

[patch.crates-io]
multipart = { git = "https://github.com/coolreader18/multipart", rev = "ee033794ada7c322e3cef50713854dff873f546d" }

0 comments on commit 31013d9

Please sign in to comment.