Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

66 lines
2.1 KiB

name: Test and Prebuild
on: [push]
jobs:
build-test-prebuild:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12
- run: npm install
- run: npm test
- run: npm run prebuild
if: startsWith(github.ref, 'refs/tags/')
- run: npm run prebuild-arm64
if: startsWith(github.ref, 'refs/tags/')
- run: zip -r prebuild-darwin.zip prebuilds
if: startsWith(github.ref, 'refs/tags/')
- name: Prebuild
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: prebuild-darwin.zip
build-linux:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-18.04
container: quay.io/pypa/manylinux2014_x86_64
steps:
- run: ldd --version ldd
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12
- run: npm install
- run: npm run prebuild
- run: tar --create --verbose --file=prebuild-linux.tar -C prebuilds .
- name: Prebuild
uses: softprops/action-gh-release@v1
with:
files: prebuild-linux.tar
build-linux-arm64:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-18.04
container: quay.io/pypa/manylinux_2_24_x86_64
steps:
- run: apt-get update
- run: apt-get install -y gcc-aarch64-linux-gnu
- run: apt-get install -y g++-aarch64-linux-gnu
- run: ldd --version ldd
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12
- run: npm install
- run: npm run prebuild-arm64
env:
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
- run: tar --create --verbose --file=prebuild-linux-arm64.tar -C prebuilds .
- name: Prebuild
uses: softprops/action-gh-release@v1
with:
files: prebuild-linux-arm64.tar