Support for namespace #10690
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
name: Linux (Luajit) | |
on: | |
pull_request: | |
push: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Linux-Luajit | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: dmd-latest | |
- uses: little-core-labs/get-git-tag@v3.0.2 | |
id: tagName | |
- name: Installation | |
run: | | |
./configure --runtime=luajit | |
make -j`nproc` | |
./scripts/get.sh __local__ __install_only__ | |
source ~/.xmake/profile | |
xmake --version | |
- name: Prepare | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential llvm | |
sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev | |
- name: Tests | |
run: | | |
xmake lua -v -D tests/run.lua | |
xrepo --version | |