Fix compiler crash from match
with extra parens around let
in tup…
#266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update lib cache | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: "update-lib-cache" | |
permissions: | |
packages: read | |
jobs: | |
x86_64-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu24.04-builder:20250115 | |
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu22.04-builder:20230924 | |
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-ubuntu20.04-builder:20230830 | |
- image: ghcr.io/ponylang/ponyc-ci-x86-64-unknown-linux-musl-builder:20241203 | |
- image: ghcr.io/ponylang/ponyc-ci-cross-arm:20240427 | |
- image: ghcr.io/ponylang/ponyc-ci-cross-armhf:20240427 | |
- image: ghcr.io/ponylang/ponyc-ci-cross-riscv64:20240427 | |
name: ${{ matrix.image }} | |
container: | |
image: ${{ matrix.image }} | |
options: --user pony | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Libs | |
id: cache-libs | |
uses: actions/cache@v4 | |
with: | |
path: build/libs | |
key: libs-${{ matrix.image }}-${{ hashFiles('Makefile', 'CMakeLists.txt', 'lib/CMakeLists.txt') }} | |
- name: Build Libs | |
if: steps.cache-libs.outputs.cache-hit != 'true' | |
run: make libs build_flags=-j8 | |
aarch64-linux: | |
runs-on: ubuntu-24.04-arm | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: ghcr.io/ponylang/ponyc-ci-aarch64-unknown-linux-ubuntu24.04-builder:20250118 | |
name: ${{ matrix.image }} | |
container: | |
image: ${{ matrix.image }} | |
options: --user pony | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Libs | |
id: cache-libs | |
uses: actions/cache@v4 | |
with: | |
path: build/libs | |
key: libs-${{ matrix.image }}-${{ hashFiles('Makefile', 'CMakeLists.txt', 'lib/CMakeLists.txt') }} | |
- name: Build Libs | |
if: steps.cache-libs.outputs.cache-hit != 'true' | |
run: make libs build_flags=-j8 | |
x86_64-macos: | |
runs-on: macos-13 | |
name: x86-64 Apple Darwin | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Libs | |
id: restore-libs | |
uses: actions/cache@v4 | |
with: | |
path: build/libs | |
key: libs-x86-macos-13-${{ hashFiles('Makefile', 'CMakeLists.txt', 'lib/CMakeLists.txt') }} | |
- name: Build Libs | |
if: steps.restore-libs.outputs.cache-hit != 'true' | |
run: make libs build_flags=-j8 | |
arm64-macos: | |
runs-on: macos-14 | |
name: arm64 Apple Darwin | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Libs | |
id: restore-libs | |
uses: actions/cache@v4 | |
with: | |
path: build/libs | |
key: libs-arm64-macos-14-${{ hashFiles('Makefile', 'CMakeLists.txt', 'lib/CMakeLists.txt') }} | |
- name: Build Libs | |
if: steps.restore-libs.outputs.cache-hit != 'true' | |
run: make libs build_flags=-j8 | |
x86_64-windows: | |
runs-on: windows-2022 | |
name: x86-64 Windows MSVC | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Cache Libs | |
id: restore-libs | |
uses: actions/cache@v4 | |
with: | |
path: build/libs | |
key: libs-windows-2022-${{ hashFiles('make.ps1', 'CMakeLists.txt', 'lib/CMakeLists.txt') }} | |
- name: Build Libs | |
if: steps.restore-libs.outputs.cache-hit != 'true' | |
run: .\make.ps1 -Command libs |