Skip to content

Merge pull request #37 from ArkScript-lang/v4 #100

Merge pull request #37 from ArkScript-lang/v4

Merge pull request #37 from ArkScript-lang/v4 #100

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
ARTIFACT_NAME: "linux-clang-15.zip"
CLANG_VERSION: 15
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout std
uses: actions/checkout@v2
- uses: robinraju/release-downloader@v1.9
with:
latest: true
preRelease: true
repository: ArkScript-lang/Ark
fileName: ${{ env.ARTIFACT_NAME }}
- name: Set up files
shell: bash
run: |
unzip $ARTIFACT_NAME
chmod u+x arkscript *.so lib/*.arkm
cp lib/*.arkm ./
- name: Update LLVM compilers
shell: bash
run: |
sudo apt-get install -y clang-${CLANG_VERSION} lld-${CLANG_VERSION} \
libc++-${CLANG_VERSION}-dev libc++abi-${CLANG_VERSION}-dev \
clang-tools-${CLANG_VERSION}
- name: Tests
shell: bash
run: |
./arkscript --version
./arkscript tests/all.ark -L ./