Skip to content

improve clang-tidy to support multiple sourcefiles #260

improve clang-tidy to support multiple sourcefiles

improve clang-tidy to support multiple sourcefiles #260

Workflow file for this run

name: Cosmocc (x86_64)
on:
pull_request:
push:
release:
types: [published]
jobs:
build:
strategy:
matrix:
os: [macos-12]
arch: [x86_64]
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Cosmocc-${{ matrix.arch }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Prepare local xmake
run: cp -rf . ../xmake-source
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: local#../xmake-source
- name: Installation
run: |
brew install dmd
brew install dub
- name: Build
run: |
cd core
xmake f --embed=y -y -cvD
xmake -v
cd ..
- name: Tests
run: |
ls -l core/build/
core/build/xmake --version
core/build/xmake lua -v -D tests/run.lua
- uses: actions/upload-artifact@v4
with:
name: xmake
path: core/build/xmake