mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
ci: setup protoc before building
also make sure we have latest stable with rustup
This commit is contained in:
parent
8202c3f7d3
commit
68d57db212
2 changed files with 16 additions and 1 deletions
9
.github/workflows/lua.yml
vendored
9
.github/workflows/lua.yml
vendored
|
@ -25,7 +25,8 @@ jobs:
|
||||||
target: armv7
|
target: armv7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: rustup update
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- run: cargo build --release --features=lua
|
- run: cargo build --release --features=lua
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -47,6 +48,8 @@ jobs:
|
||||||
target: armv7
|
target: armv7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- run: cargo build --release --features=lua
|
- run: cargo build --release --features=lua
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -64,6 +67,8 @@ jobs:
|
||||||
target: x86
|
target: x86
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- run: cargo build --release --features=lua
|
- run: cargo build --release --features=lua
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -81,6 +86,8 @@ jobs:
|
||||||
target: aarch64
|
target: aarch64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- run: cargo build --release --features=lua
|
- run: cargo build --release --features=lua
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
8
.github/workflows/python.yml
vendored
8
.github/workflows/python.yml
vendored
|
@ -34,6 +34,8 @@ jobs:
|
||||||
target: ppc64le
|
target: ppc64le
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
@ -65,6 +67,8 @@ jobs:
|
||||||
target: armv7
|
target: armv7
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
@ -92,6 +96,8 @@ jobs:
|
||||||
target: x86
|
target: x86
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
@ -119,6 +125,8 @@ jobs:
|
||||||
target: aarch64
|
target: aarch64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: rustup update stable && rustup default stable
|
||||||
|
- uses: arduino/setup-protoc@v2
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
|
Loading…
Reference in a new issue