Compare commits
2 Commits
e042e8b7cc
...
470eba2447
| Author | SHA1 | Date | |
|---|---|---|---|
| 470eba2447 | |||
| b8e6c3b6fb |
@@ -7,15 +7,6 @@ env:
|
|||||||
APT_PACKAGES: mingw-w64
|
APT_PACKAGES: mingw-w64
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
|
||||||
name: Check
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
||||||
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
|
|
||||||
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
|
||||||
- run: cargo check --target "${{ env.TARGET_PLATFORM }}"
|
|
||||||
build_windows:
|
build_windows:
|
||||||
name: build (windows)
|
name: build (windows)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -24,7 +15,7 @@ jobs:
|
|||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
|
- run: apt update && apt install -y ${{ env.APT_PACKAGES }}
|
||||||
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
- run: rustup target add "${{ env.TARGET_PLATFORM }}"
|
||||||
- run: cargo build --target "${{ env.TARGET_PLATFORM }}"
|
- run: cargo build --release --target "${{ env.TARGET_PLATFORM }}"
|
||||||
- uses: actions/gitea-release-action@v1
|
- uses: actions/gitea-release-action@v1
|
||||||
env:
|
env:
|
||||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||||
|
|||||||
Reference in New Issue
Block a user