mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
ci: drop targets, bump setup protoc, fix py cwd
This commit is contained in:
parent
68d57db212
commit
ac3df94cf9
3 changed files with 19 additions and 18 deletions
8
.github/workflows/lua.yml
vendored
8
.github/workflows/lua.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -49,7 +49,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -68,7 +68,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -87,7 +87,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- run: cargo build --release --features=lua
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
27
.github/workflows/python.yml
vendored
27
.github/workflows/python.yml
vendored
|
@ -28,22 +28,19 @@ jobs:
|
|||
target: aarch64
|
||||
- runner: ubuntu-latest
|
||||
target: armv7
|
||||
- runner: ubuntu-latest
|
||||
target: s390x
|
||||
- runner: ubuntu-latest
|
||||
target: ppc64le
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
working-directory: dist/py
|
||||
with:
|
||||
target: ${{ matrix.platform.target }}
|
||||
args: --release --out dist/py
|
||||
args: --release --out .
|
||||
sccache: 'true'
|
||||
manylinux: auto
|
||||
- name: Upload wheels
|
||||
|
@ -68,15 +65,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
working-directory: dist/py
|
||||
with:
|
||||
target: ${{ matrix.platform.target }}
|
||||
args: --release --out dist/py
|
||||
args: --release --out .
|
||||
sccache: 'true'
|
||||
manylinux: musllinux_1_2
|
||||
- name: Upload wheels
|
||||
|
@ -97,16 +95,17 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
architecture: ${{ matrix.platform.target }}
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
working-directory: dist/py
|
||||
with:
|
||||
target: ${{ matrix.platform.target }}
|
||||
args: --release --out dist/py
|
||||
args: --release --out .
|
||||
sccache: 'true'
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -126,15 +125,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: rustup update stable && rustup default stable
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- name: Build wheels
|
||||
uses: PyO3/maturin-action@v1
|
||||
working-directory: dist/py
|
||||
with:
|
||||
target: ${{ matrix.platform.target }}
|
||||
args: --release --out dist/py
|
||||
args: --release --out .
|
||||
sccache: 'true'
|
||||
- name: Upload wheels
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -148,9 +148,10 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- name: Build sdist
|
||||
uses: PyO3/maturin-action@v1
|
||||
working-directory: dist/py
|
||||
with:
|
||||
command: sdist
|
||||
args: --out dist/py
|
||||
args: --out .
|
||||
- name: Upload sdist
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
# - nightly
|
||||
# TODO should re-enable future toolchains so we get warnings on breaking changes
|
||||
steps:
|
||||
- uses: arduino/setup-protoc@v2
|
||||
- uses: arduino/setup-protoc@v3
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- run: cargo build --verbose --features=${{ matrix.features }}
|
||||
|
|
Loading…
Reference in a new issue