Compare commits

..

3 Commits

View File

@@ -10,6 +10,7 @@ env:
jobs:
build:
name: Build (${{ matrix.target }})
strategy:
fail-fast: false
matrix:
@@ -40,7 +41,8 @@ jobs:
- name: Vcpkg Linux Dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get install autoconf automake libtool pkg-config
sudo apt-get update
sudo apt-get install -y build-essential autoconf automake libtool pkg-config gettext m4 libtool libltdl-dev
- name: Vcpkg
run: |
@@ -50,14 +52,10 @@ jobs:
- name: Build
run: cargo build --release
- name: Install Cargo Binstall
uses: cargo-bins/cargo-binstall@main
- name: Acquire Package Version
shell: bash
run: |
cargo binstall toml-cli -y
PACKAGE_VERSION=$(toml get ./Cargo.toml package.version --raw)
PACKAGE_VERSION=$(cargo metadata --format-version 1 --no-deps | jq '.packages[0].version')
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV
- name: Upload Artifact
@@ -69,6 +67,7 @@ jobs:
if-no-files-found: error
wasm:
name: Build (wasm32-unknown-emscripten)
runs-on: ubuntu-latest
permissions:
pages: write