diff options
author | Ben V. Brown <[email protected]> | 2023-12-26 19:54:47 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-12-26 19:54:47 +1100 |
commit | 849d1f7d40182c3b67426da75bd261e38a4cd02f (patch) | |
tree | edfa4304f3ed73a5551ed696bf80b1d0de682e1c /.github/workflows | |
parent | 9931afdb0f3129321271a5b42e2fc46b5eca3a9c (diff) | |
download | IronOS-849d1f7d40182c3b67426da75bd261e38a4cd02f.tar.gz IronOS-849d1f7d40182c3b67426da75bd261e38a4cd02f.zip |
Update compilers (#1858)
* Update Alpine Image
* Update push.yml
* Style updates
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/push.yml | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f07c4ae1..ae6e2a8b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -3,23 +3,31 @@ name: CI on: [push, pull_request] jobs: - - build: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 strategy: matrix: - model: ["TS100", "TS80", "TS80P", "Pinecil", "MHP30", "Pinecilv2", "S60", "TS101"] + model: + [ + "TS100", + "TS80", + "TS80P", + "Pinecil", + "MHP30", + "Pinecilv2", + "S60", + "TS101", + ] fail-fast: true steps: - name: Install dependencies (apk) - run: apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash + run: apk add --no-cache gcc-riscv-none-elf g++-riscv-none-elf gcc-arm-none-eabi g++-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash - name: Install dependencies (python) - run: python3 -m pip install bdflib + run: python3 -m pip install --break-system-packages bdflib - uses: actions/checkout@v4 with: @@ -58,11 +66,10 @@ jobs: name: metadata path: source/Hexfile/${{ matrix.model }}.json - build_multi-lang: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 strategy: matrix: model: ["Pinecil", "Pinecilv2"] @@ -70,9 +77,9 @@ jobs: steps: - name: Install dependencies (apk) - run: apk add --no-cache gcc-riscv-none-elf newlib-riscv-none-elf findutils python3 py3-pip make git bash musl-dev + run: apk add --no-cache gcc-riscv-none-elf g++-riscv-none-elf gcc-arm-none-eabi g++-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git bash musl-dev - name: Install dependencies (python) - run: python3 -m pip install bdflib + run: python3 -m pip install --break-system-packages bdflib - uses: actions/checkout@v4 with: @@ -111,11 +118,10 @@ jobs: name: metadata path: source/Hexfile/${{ matrix.model }}_multi-lang.json - tests: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 steps: - name: Install dependencies (apk) @@ -126,7 +132,7 @@ jobs: submodules: true - name: Install dependencies (python) - run: python3 -m pip install bdflib + run: python3 -m pip install --break-system-packages bdflib - name: Run python tests run: ./Translations/make_translation_test.py @@ -134,11 +140,10 @@ jobs: - name: Run BriefLZ tests run: make -C source/ Objects/host/brieflz/libbrieflz.so && ./Translations/brieflz_test.py - check_c-cpp: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 steps: - name: Install dependencies (apk) @@ -151,11 +156,10 @@ jobs: - name: Check format style with clang-format run: make clean check-style - check_python: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 steps: - name: Install dependencies (apk) @@ -166,7 +170,7 @@ jobs: submodules: true - name: Install dependencies (python) - run: python3 -m pip install bdflib flake8 + run: python3 -m pip install --break-system-packages bdflib flake8 - name: Check python formatting with black run: black --check Translations @@ -174,7 +178,6 @@ jobs: - name: Check python with flake8 run: flake8 Translations - check_shell: name: check_shell runs-on: ubuntu-latest @@ -188,11 +191,10 @@ jobs: exclude: "./.git/*" # Optional. check_all_files_with_shebangs: "false" # Optional. - check_readme: runs-on: ubuntu-20.04 container: - image: alpine:3.16 + image: alpine:3.19 steps: - name: Install dependencies (apk) |