1- name : build recipes
1+ name : Build Recipes
2+
23on :
34 push :
45 branches :
1011 - " recipes/**"
1112
1213jobs :
13- lint_recipes :
14- runs-on : ubuntu-latest
15- steps :
16- - name : Checkout repo
17- uses : actions/checkout@v4
18- with :
19- fetch-depth : 0
20- ref : ${{ github.sha }}
21-
22- - name : Fetch main branch
23- run : |
24- git fetch origin main
25-
26- - name : Install micromamba
27- uses : mamba-org/setup-micromamba@v1
28- with :
29- micromamba-version : " 1.5.8-0"
30- environment-file : ci_env.yml
31- environment-name : ci
32- init-shell : bash
33- cache-environment : false
34- post-cleanup : " all"
35-
36- - name : Lint recipes
37- shell : bash -el {0}
38- run : |
39- set -e
40-
41- if [ "${{ github.event_name }}" = "pull_request" ]; then
42- BASE_REF="origin/main"
43- HEAD_REF="HEAD"
44- else
45- BASE_REF="HEAD~1"
46- HEAD_REF="HEAD"
47- fi
48-
49- echo "Comparing changes between $BASE_REF and $HEAD_REF"
50- python -m emci build lint $BASE_REF $HEAD_REF
5114
5215 build_recipes :
5316 runs-on : ubuntu-latest
5417 env :
18+ FORCE_COLOR : 1
5519 TARGET_PLATFORM : emscripten-wasm32
5620 GITHUB_OWNER : " emscripten-forge"
5721 strategy :
@@ -62,17 +26,10 @@ jobs:
6226 # SETUP
6327 # ###############################################################
6428 - name : Checkout repo
65- uses : actions/checkout@v4
29+ uses : actions/checkout@v5
6630 with :
6731 fetch-depth : 0
6832
69- - name : Maximize build space
70- run : |
71- sudo rm -rf /usr/share/dotnet
72- sudo rm -rf /opt/ghc
73- sudo rm -rf "/usr/local/share/boost"
74- sudo rm -rf "$AGENT_TOOLSDIRECTORY"
75-
7633 - name : apt-install playwright dependencies
7734 run : |
7835 sudo apt-get update -y && sudo apt-get install -y \
9956 # MAMBA
10057 # ###############################################################
10158 - name : Install micromamba
102- uses : mamba-org/setup-micromamba@v1
59+ uses : mamba-org/setup-micromamba@v2
10360 with :
104- micromamba-version : " 1.5.8-0"
10561 environment-file : ci_env.yml
106- environment-name : ci
10762 init-shell : bash
10863 cache-environment : false
10964 post-cleanup : " all"
0 commit comments