mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-25 00:24:48 +01:00
Merge pull request #70 from hexedtech/fix/ci-lua-py
fix: lua and python release CIs
This commit is contained in:
commit
bc8314d5b7
5 changed files with 17 additions and 15 deletions
4
.github/workflows/java.yml
vendored
4
.github/workflows/java.yml
vendored
|
@ -2,8 +2,8 @@ name: java
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- stable
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
4
.github/workflows/javascript.yml
vendored
4
.github/workflows/javascript.yml
vendored
|
@ -2,8 +2,8 @@ name: javascript
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- stable
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
6
.github/workflows/lua.yml
vendored
6
.github/workflows/lua.yml
vendored
|
@ -2,8 +2,8 @@ name: lua
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- stable
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: cargo build --release --features=luajit
|
- run: cargo build --release --features=lua
|
||||||
- id: previoustag
|
- id: previoustag
|
||||||
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||||
with:
|
with:
|
||||||
|
|
14
.github/workflows/python.yml
vendored
14
.github/workflows/python.yml
vendored
|
@ -7,8 +7,8 @@ name: python
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- stable
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -91,9 +91,11 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
versions:
|
versions:
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
features: py-noabi
|
extra: ''
|
||||||
|
name: 'py'
|
||||||
- python: 3.x
|
- python: 3.x
|
||||||
features: py
|
extra: '--no-default-features'
|
||||||
|
name: 'py-noabi'
|
||||||
platform:
|
platform:
|
||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: x64
|
target: x64
|
||||||
|
@ -114,12 +116,12 @@ jobs:
|
||||||
working-directory: dist/py
|
working-directory: dist/py
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
container: 'off'
|
container: 'off'
|
||||||
args: --release --out ./build --features ${{ matrix.versions.features }}
|
args: --release --out ./build ${{ matrix.versions.extra }} --features py
|
||||||
sccache: 'true'
|
sccache: 'true'
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: codemp-${{ matrix.versions.features }}-windows-${{ matrix.platform.target }}
|
name: codemp-${{ matrix.versions.name }}-windows-${{ matrix.platform.target }}
|
||||||
path: dist/py/build
|
path: dist/py/build
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
|
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
@ -2,8 +2,8 @@ name: rust
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- stable
|
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
Loading…
Reference in a new issue