-
Notifications
You must be signed in to change notification settings - Fork 13
92 lines (77 loc) · 3.16 KB
/
tests_gcc_macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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 - Assertion
run: |
julec --compiler gcc --compiler-path g++-13 -o test -t tests/assertion
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 - 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