fix ci python setup (#96)
This commit is contained in:
parent
852125a6b1
commit
39de9d651d
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -2,16 +2,10 @@ name: ci
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
paths:
|
|
||||||
- '.github/workflows/ci.yml'
|
|
||||||
- '*.h'
|
|
||||||
- '*.c'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
paths:
|
|
||||||
- '.github/workflows/ci.yml'
|
|
||||||
- '*.h'
|
|
||||||
- '*.c'
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-${{ github.ref }}
|
group: ci-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
@ -31,6 +25,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
clang main.c -o ruapu-clang
|
clang main.c -o ruapu-clang
|
||||||
./ruapu-clang
|
./ruapu-clang
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- name: build-test-python
|
- name: build-test-python
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install pip -U
|
python3 -m pip install pip -U
|
||||||
@ -61,7 +58,6 @@ jobs:
|
|||||||
go build -o ruapu-go
|
go build -o ruapu-go
|
||||||
./ruapu-go
|
./ruapu-go
|
||||||
|
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
@ -70,6 +66,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
clang main.c -o ruapu
|
clang main.c -o ruapu
|
||||||
./ruapu
|
./ruapu
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- name: build-test-python
|
- name: build-test-python
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install pip -U
|
python3 -m pip install pip -U
|
||||||
@ -99,6 +98,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
clang main.c -o ruapu
|
clang main.c -o ruapu
|
||||||
./ruapu
|
./ruapu
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- name: build-test-python
|
- name: build-test-python
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install pip -U
|
python3 -m pip install pip -U
|
||||||
@ -137,6 +139,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
gcc main.c -o ruapu-mingw.exe
|
gcc main.c -o ruapu-mingw.exe
|
||||||
./ruapu-mingw.exe
|
./ruapu-mingw.exe
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
- name: build-test-python
|
- name: build-test-python
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install pip -U
|
python3 -m pip install pip -U
|
||||||
|
Loading…
Reference in New Issue
Block a user