Skip to content

Update to latest changelog-bot-action #181

Update to latest changelog-bot-action

Update to latest changelog-bot-action #181

name: Update lib cache
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: "update-lib-cache"
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:20240425
- 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:20231003
- 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
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64: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', 'libs/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', 'libs/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', 'libs/CMakeLists.txt') }}
- name: Build Libs
if: steps.restore-libs.outputs.cache-hit != 'true'
run: .\make.ps1 -Command libs