Skip to content

refactor lexer to recognize identifiers which starting with underline #71

refactor lexer to recognize identifiers which starting with underline

refactor lexer to recognize identifiers which starting with underline #71

Workflow file for this run

name: Build & Upload Cyrus Lang
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
build-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential gcc
- name: Download and install GCC fork
run: |
curl -LO https://github.com/antoyo/gcc/releases/latest/download/gcc-15.deb
sudo dpkg --force-overwrite -i gcc-15.deb
- name: Build
run: cargo build --verbose --release
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run tests
run: cargo test --verbose
- name: Collect files in single directory
run: |
mkdir cyrus
cp ./target/release/cyrus ./cyrus
cp ./scripts/install.sh ./cyrus
cp -r ./stdlib ./cyrus
- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: cyrus-linux
path: ./cyrus