mirror of https://github.com/flysand7/ciabatta.git
38 lines
842 B
YAML
38 lines
842 B
YAML
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
|
|
platform: x64
|
|
- name: Setup NASM
|
|
uses: ilammy/setup-nasm@v1
|
|
- name: Setup Lua
|
|
uses: leafo/gh-actions-lua@v9
|
|
- name: Setup Luarocks
|
|
uses: leafo/gh-actions-luarocks@v4
|
|
- name: Install argparse
|
|
shell: bash
|
|
run: luarocks install argparse
|
|
- name: Install lua-path
|
|
shell: bash
|
|
run: luarocks install lua-path
|
|
- name: Build
|
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
|
shell: bash
|
|
run: ./build.lua --clean --release --platform linux -t tests/empty.c
|