mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +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
|
||||
steps:
|
||||
- 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
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -47,6 +48,8 @@ jobs:
|
|||
target: armv7
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -64,6 +67,8 @@ jobs:
|
|||
target: x86
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -81,6 +86,8 @@ jobs:
|
|||
target: aarch64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
8
.github/workflows/python.yml
vendored
8
.github/workflows/python.yml
vendored
|
@ -34,6 +34,8 @@ jobs:
|
|||
target: ppc64le
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -65,6 +67,8 @@ jobs:
|
|||
target: armv7
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -92,6 +96,8 @@ jobs:
|
|||
target: x86
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
@ -119,6 +125,8 @@ jobs:
|
|||
target: aarch64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
|
Loading…
Reference in a new issue