Skip to content

compiler: add the --opt-std-math-cmplx optimization flag #1238

compiler: add the --opt-std-math-cmplx optimization flag

compiler: add the --opt-std-math-cmplx optimization flag #1238

name: Tests [GCC] - macOS
on: [push, pull_request]
jobs:
build-and-exec:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- uses: julelang/ci@main
- name: Test - Standard Library
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/std
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Arrays
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/arrays
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Basic Calculator
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/basic_calculator
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
- name: Test - Comptime
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/comptime
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Concurrency
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/concurrency
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Exceptionals
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/exceptionals
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Generics
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/generics
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Levenshtein Distance
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/levenshtein_distance
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Maps
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/maps
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Operator Overloading
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/operator_overloading
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - QuickSort
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/quicksort
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Sleep
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/sleep
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Syntax
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/syntax
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - Traits
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/traits
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test