Skip to content

feat: adding list:countIf #124

feat: adding list:countIf

feat: adding list:countIf #124

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
ARTIFACT_NAME: "linux-clang-16.zip"
CLANG_VERSION: 16
jobs:
check_ark:
name: ArkScript formatting check
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Format check
uses: ArkScript-lang/action-format@master
with:
folder: .
exclude: tests
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout std
uses: actions/checkout@v4
- uses: robinraju/[email protected]
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
mkdir -p std && mv *.ark std/
./arkscript tests/all.ark -L ./