Skip to content

Commit a2fc83f

Browse files
committed
test ci
1 parent ef51882 commit a2fc83f

File tree

2 files changed

+10
-21
lines changed

2 files changed

+10
-21
lines changed

.github/workflows/ci-arm.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
env:
1616
CONTAINER_PATH: /tmp/fs
1717
EMFLAVOUR: 3.1.61
18+
SDKROOT: /tmp/sdk
1819
steps:
1920
- uses: actions/[email protected]
2021
- name: Display CI properties
@@ -38,22 +39,16 @@ jobs:
3839
git clone https://github.com/pygame-web/python-wasm-sdk
3940
mkdir -p /tmp/fs/tmp/sdk/dist /tmp/dist
4041
41-
- name: Build sdk (debian docker) for python 3.12
42+
- name: Build sdk (debian docker 12) for python 3.13
4243
run: |
43-
docker run -e EMFLAVOUR=3.1.61 -e BUILDS=3.12 -v ./python-wasm-sdk:/workspace -v /tmp/fs/tmp/sdk/dist:/tmp/sdk/dist --workdir=/workspace --name wasmsdk-3-12 debian:stable ./python-wasm-sdk.sh
44-
mv /tmp/sdk/dist/*.tar.lz4 /tmp/dist/
45-
46-
- name: Build sdk (debian docker) for python 3.13
47-
run: |
48-
docker run -e EMFLAVOUR=3.1.61 -e BUILDS=3.13 -v ./python-wasm-sdk:/workspace -v /tmp/fs/tmp/sdk/dist:/tmp/sdk/dist --workdir=/workspace --name wasmsdk-3-13 debian:stable ./python-wasm-sdk.sh
49-
mv /tmp/sdk/dist/*.tar.lz4 /tmp/dist/
44+
bash docker-run.sh
5045
5146
- name: Upload sdk to Github Releases
5247
if: github.event_name == 'release'
5348
uses: svenstaro/[email protected]
5449
with:
5550
repo_token: ${{ secrets.GITHUB_TOKEN }}
56-
file: /tmp/dist/*.tar.lz4
51+
file: /tmp/sdk/dist/*.tar.lz4
5752
file_glob: true
5853
tag: ${{ github.ref }}
5954

.github/workflows/ci-x86_64.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI-x86_64
1+
name: CI-arm
22

33
on:
44
workflow_dispatch:
@@ -15,6 +15,7 @@ jobs:
1515
env:
1616
CONTAINER_PATH: /tmp/fs
1717
EMFLAVOUR: 3.1.61
18+
SDKROOT: /tmp/sdk
1819
steps:
1920
- uses: actions/[email protected]
2021
- name: Display CI properties
@@ -29,32 +30,25 @@ jobs:
2930
echo "Node :"
3031
node -v
3132
echo
32-
echo "Android support:"
33-
echo
3433
echo "Github env:"
3534
env|grep GITHUB
35+
sudo apt-get install libtalloc2 lz4
3636
3737
- name: prepare build env
3838
run: |
3939
git clone https://github.com/pygame-web/python-wasm-sdk
4040
mkdir -p /tmp/fs/tmp/sdk/dist /tmp/dist
4141
42-
- name: Build sdk (debian docker) for python 3.12
43-
run: |
44-
docker run -e EMFLAVOUR=3.1.61 -e BUILDS=3.12 -v ./python-wasm-sdk:/workspace -v /tmp/fs/tmp/sdk/dist:/tmp/sdk/dist --workdir=/workspace --name wasmsdk-3-12 debian:stable ./python-wasm-sdk.sh
45-
mv /tmp/sdk/dist/*.tar.lz4 /tmp/dist/
46-
47-
- name: Build sdk (debian docker) for python 3.13
42+
- name: Build sdk (debian docker 12) for python 3.13
4843
run: |
49-
docker run -e EMFLAVOUR=3.1.61 -e BUILDS=3.13 -v ./python-wasm-sdk:/workspace -v /tmp/fs/tmp/sdk/dist:/tmp/sdk/dist --workdir=/workspace --name wasmsdk-3-13 debian:stable ./python-wasm-sdk.sh
50-
mv /tmp/sdk/dist/*.tar.lz4 /tmp/dist/
44+
bash docker-run.sh
5145
5246
- name: Upload sdk to Github Releases
5347
if: github.event_name == 'release'
5448
uses: svenstaro/[email protected]
5549
with:
5650
repo_token: ${{ secrets.GITHUB_TOKEN }}
57-
file: /tmp/dist/*.tar.lz4
51+
file: /tmp/sdk/dist/*.tar.lz4
5852
file_glob: true
5953
tag: ${{ github.ref }}
6054

0 commit comments

Comments
 (0)