Skip to content

Remove non-standard format comment (#4448) #87

Remove non-standard format comment (#4448)

Remove non-standard format comment (#4448) #87

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-ubuntu22.04-builder:20230830
- 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:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-riscv64:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-arm:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-armhf:20230830
- image: ghcr.io/ponylang/ponyc-ci-cross-aarch64:20230830
name: ${{ matrix.image }}
container:
image: ${{ matrix.image }}
options: --user pony
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache Libs
id: cache-libs
uses: actions/cache@v3
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/checkout@v3
- name: Cache Libs
id: restore-libs
uses: actions/cache@v3
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/checkout@v3
- name: Cache Libs
id: restore-libs
uses: actions/cache@v3
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