Remove CentOS 7 container because of node deprecation #36
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
on: [push] | |
jobs: | |
build: | |
name: build (${{ matrix.os }}) | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
label: centos-7 | |
- os: macos-14 | |
label: macos-arm64 | |
- os: macos-latest | |
label: macos-x64 | |
env: | |
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
runs-on: ${{ matrix.os }} | |
container: ${{ matrix.container }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run make | |
run: make | |
- name: Add execute permission | |
run: chmod +x ./flexiplex | |
- name: Tar files | |
run: tar -cvf ./result.tar ./flexiplex | |
- name: Get short SHA | |
id: vars | |
run: git config --global --add safe.directory '*' && echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Save artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-${{ steps.vars.outputs.sha_short }}-${{ matrix.label }} | |
path: ./result.tar | |
retention-days: 90 |