Skip to content

compiler: add the --opt-array optimization flag #1072

compiler: add the --opt-array optimization flag

compiler: add the --opt-array optimization flag #1072

name: Std 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 - std/internal/conv
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/internal/conv
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/internal/fastbytes
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/internal/fastbytes
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/encoding/ascii85
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/encoding/ascii85
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/encoding/base32
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/encoding/base32
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/encoding/base64
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/encoding/base64
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/encoding/json
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/encoding/json
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/hash/adler32
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/hash/adler32
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/hash/fnv
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/hash/fnv
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/maps
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/maps
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/math/big
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/math/big
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/math/cmplx
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/math/cmplx
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/mem
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/mem
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/net
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/net
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/slices
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/slices
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/unicode/utf8
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/unicode/utf8/test
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test
- name: Test - std/unicode/utf16
run: |
julec test --compiler gcc --compiler-path g++-13 -o test -t std/unicode/utf16/test
g++-13 -w --std=c++17 -O0 -Wl,-ld_classic -o test dist/ir.cpp
./test