ciabatta/.github/workflows/build-linux.yml

32 lines
689 B
YAML
Raw Normal View History

2023-07-23 09:43:38 +00:00
name: Linux
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: latest
2023-07-23 09:54:24 +00:00
platform: x64
- name: Setup NASM
uses: ilammy/setup-nasm@v1
2023-07-26 22:21:39 +00:00
- name: Set up Python
uses: actions/setup-python@v4
- name: Install python dependencies
run: python -m pip install pyjson5
2023-07-23 09:43:38 +00:00
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
shell: bash
2023-07-28 11:47:06 +00:00
run: ./build.py --mode release --target linux --test tests/hello.c