Compare commits

...

2 Commits

View File

@@ -10,7 +10,9 @@ env:
jobs: jobs:
build: build:
name: Build (${{ matrix.target }})
strategy: strategy:
fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-latest - os: ubuntu-latest
@@ -36,10 +38,16 @@ jobs:
- name: Rust Cache - name: Rust Cache
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
- name: Vcpkg Linux Dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get install autoconf automake libtool pkg-config
- name: Vcpkg - name: Vcpkg
run: | run: |
cargo install cargo-vcpkg cargo install cargo-vcpkg
cargo vcpkg -v build cargo vcpkg -v build
- name: Build - name: Build
run: cargo build --release run: cargo build --release
@@ -49,7 +57,7 @@ jobs:
- name: Acquire Package Version - name: Acquire Package Version
shell: bash shell: bash
run: | run: |
cargo binstall toml-cli -y cargo binstall toml-cli -y --no-cleanup --maximum-resolution-timeout 25
PACKAGE_VERSION=$(toml get ./Cargo.toml package.version --raw) PACKAGE_VERSION=$(toml get ./Cargo.toml package.version --raw)
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV
@@ -62,6 +70,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
wasm: wasm:
name: Build (WASM)
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
pages: write pages: write