Skip to content

Commit

Permalink
Reduce the size of the style CI container; update MSVC to 17.9.6; u…
Browse files Browse the repository at this point in the history
…pdate Embarcadero to 12.1 Athens; update tested compiler versions (#415)

* Reduce the size of the `style` CI container
* Update MSVC to 17.9.6
* Update Embarcadero to 12.1 Athens
* Update tested compiler versions

---------

Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
  • Loading branch information
johnsonjh authored Apr 16, 2024
1 parent 9c1d7e6 commit f0186dc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2650,11 +2650,11 @@ Windows/x64 (Embarcadero Athens, BCC64X, C-only):
# Start of Build ...
echo -e "section_start:`date +%s`:Build_section[collapsed=true]\r\e[0K\033[0;36mBuild ...\033[0m" || true
- export WINEDEBUG=-all
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin/bcc64x.exe --version
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin64/bcc64x.exe --version
- mkdir -p build/bin
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin/bcc64x.exe tests/*.c src/* -Iinclude -tM -DSIR_NO_PLUGINS=1 -Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -std=c11 -Wno-pragma-pack -Wno-unknown-pragmas -Wno-nonportable-include-path -Wno-macro-redefined -Wno-microsoft-anon-tag -I${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/include/windows/sdk
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin64/bcc64x.exe tests/*.c src/* -Iinclude -tM -DSIR_NO_PLUGINS=1 -Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -std=c11 -Wno-pragma-pack -Wno-unknown-pragmas -Wno-nonportable-include-path -Wno-macro-redefined -Wno-microsoft-anon-tag -I${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/include/windows/sdk -L${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/lib/win64/release/psdk
- mv tests.exe build/bin/sirtests.exe
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin/bcc64x.exe example/*.c src/* -Iinclude -tM -DSIR_NO_PLUGINS=1 -Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -std=c11 -Wno-pragma-pack -Wno-unknown-pragmas -Wno-nonportable-include-path -Wno-macro-redefined -Wno-microsoft-anon-tag -I${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/include/windows/sdk
- $(command -v wine64 || command -v wine || false) ~/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/bin64/bcc64x.exe example/*.c src/* -Iinclude -tM -DSIR_NO_PLUGINS=1 -Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -std=c11 -Wno-pragma-pack -Wno-unknown-pragmas -Wno-nonportable-include-path -Wno-macro-redefined -Wno-microsoft-anon-tag -I${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/include/windows/sdk -L${HOME:-/home/user}/.wine/drive_c/Program\ Files\ \(x86\)/Embarcadero/Studio/23.0/lib/win64/release/psdk
- mv example.exe build/bin/sirexample.exe
- |
# End of Build ...
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci/embarcadero23/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN set -x && cd ~user && \
cd .wine/drive_c/Program\ Files\ \(x86\)/ && \
mkdir -p Embarcadero/Studio && \
cd Embarcadero/Studio && \
curl -fsSL "${URL:-http://192.168.1.187:8088/~jhj/cache/EMB23.tar}" | tar xvf -
curl -fsSL "${URL:-http://192.168.1.187:8088/~jhj/cache/EMB23-1-min.tar}" | tar xvf -

USER 10000

Expand Down
6 changes: 4 additions & 2 deletions .gitlab-ci/style/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ USER 0

WORKDIR /

RUN set -x && PATH="${HOME:?}/go/bin:${PATH:?}" && \
export PATH && \
RUN set -x && \
dnf -y --setopt=install_weak_deps=True --setopt=keepcache=True install golang && \
sudo -s -u user sh -xc \
'go install github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker@latest' && \
sudo -s -u user sh -xc 'go clean -modcache -testcache -cache 2>/dev/null || true' && \
dnf -y clean all && \
sudo -s -u user sh -xc 'rm -rf ~/.cache > /dev/null 2>&1 || true' && \
rm -rf ~/.cache > /dev/null 2>&1 && \
rm -rf /var/tmp/* > /dev/null 2>&1 && \
rm -rf /var/log/dnf* > /dev/null 2>&1
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ At this time, libsir is supported (*that is, it compiles and passes the test sui
| System | Toolchain |
| ------:|:--------- |
| **Linux**&nbsp;≳2.6.32<br>(glibc&nbsp;≳2.4, musl&nbsp;≳1.2.3, uClibc‑ng&nbsp;≳1.0.43) | **GCC**&nbsp;(4.8.4&nbsp;‑&nbsp;14.0.1),&nbsp; **Clang**&nbsp;(3.8&nbsp;‑&nbsp;18.1.3),&nbsp; **Oracle&nbsp;Studio&nbsp;C/C++**&nbsp;(≳12.6),&nbsp; **Circle**&nbsp;(1.0.0‑200),&nbsp; **IBM&nbsp;Advance&nbsp;Toolchain**&nbsp;(14&nbsp;‑&nbsp;17),&nbsp; **IBM&nbsp;XL&nbsp;C/C++**&nbsp;(16.1.1.2&nbsp;‑&nbsp;16.1.1.15),&nbsp; **IBM&nbsp;Open&nbsp;XL&nbsp;C/C++**&nbsp;(17.1.1.0&nbsp;‑&nbsp;17.1.1.2),&nbsp; **NVIDIA&nbsp;HPC&nbsp;SDK&nbsp;C/C++**&nbsp;(23.5&nbsp;‑&nbsp;24.3),&nbsp; **Arm&nbsp;HPC&nbsp;C/C++**&nbsp;(22.1&nbsp;‑&nbsp;23.10),&nbsp; **DMD&nbsp;ImportC**&nbsp;(2.104.2&nbsp;‑&nbsp;2.108.0),&nbsp; **AMD&nbsp;Optimizing&nbsp;C/C++**&nbsp;(4.0.0&nbsp;‑&nbsp;4.2.0),&nbsp; **Intel&nbsp;oneAPI&nbsp;DPC++/C++**&nbsp;(2023.1&nbsp;‑&nbsp;2024.1.0),&nbsp; **Open64**&nbsp;(5,&nbsp;AMD&nbsp;4.5.2.1),&nbsp; **Intel&nbsp;C++&nbsp;Compiler&nbsp;Classic**&nbsp;(2021.9.0&nbsp;‑&nbsp;2021.10.0),&nbsp; **Portable&nbsp;C&nbsp;Compiler**&nbsp;(1.2.0.DEVEL‑20230730),&nbsp; **Kefir**&nbsp;(≳0.3.0),&nbsp; **Chibicc**&nbsp;(2020.12.6),&nbsp; **CompCert&nbsp;C**&nbsp;(3.11&nbsp;‑&nbsp;3.14,&nbsp;no‑TLS),&nbsp; **Chamois‑CompCert&nbsp;C**&nbsp;(3.14‑20231130,&nbsp;TLS) |
| **Android**&nbsp;≳5 | **Android&nbsp;NDK**&nbsp;(r25c&nbsp;&nbsp;r26c) |
| **IBM AIX**&nbsp;7.2,&nbsp;7.3 | **GCC**&nbsp;(8.3&nbsp;&nbsp;12.3),&nbsp; **Clang**&nbsp;(18.1.2&nbsp;&nbsp;18.1.3),&nbsp; **IBM&nbsp;XL&nbsp;C/C++**&nbsp;(16.1.0.3&nbsp;&nbsp;16.1.0.16),&nbsp; **IBM&nbsp;Open&nbsp;XL&nbsp;C/C++**&nbsp;(17.1.1.1&nbsp;&nbsp;17.1.2.4) |
| **IBM i**&nbsp;(**PASE**)&nbsp;7.5 | **GCC**&nbsp;(10.3.0&nbsp;&nbsp;10.5.0),&nbsp; **IBM&nbsp;XL&nbsp;C/C++**&nbsp;(16.1.0.16) |
| **Android**&nbsp;≳5 | **Android&nbsp;NDK**&nbsp;(r25c&nbsp;&nbsp;r26d) |
| **IBM AIX**&nbsp;7.2,&nbsp;7.3 | **GCC**&nbsp;(8.3&nbsp;&nbsp;12.3),&nbsp; **Clang**&nbsp;(18.1.2&nbsp;&nbsp;18.1.3),&nbsp; **IBM&nbsp;XL&nbsp;C/C++**&nbsp;(16.1.0.3&nbsp;&nbsp;16.1.0.17),&nbsp; **IBM&nbsp;Open&nbsp;XL&nbsp;C/C++**&nbsp;(17.1.1.1&nbsp;&nbsp;17.1.2.5) |
| **IBM i**&nbsp;(**PASE**)&nbsp;7.5 | **GCC**&nbsp;(10.3.0&nbsp;&nbsp;10.5.0),&nbsp; **IBM&nbsp;XL&nbsp;C/C++**&nbsp;(16.1.0.15&nbsp;&nbsp;16.1.0.17) |
| **macOS**&nbsp;≳10.15 | **Xcode**&nbsp;(11.7&nbsp;&nbsp;15.3),&nbsp; **GCC**&nbsp;(10.4&nbsp;&nbsp;13.2.1),&nbsp; **Clang**&nbsp;(11.0.3&nbsp;&nbsp;17.0.6),&nbsp; **DMD&nbsp;ImportC**&nbsp;(2.105.0&nbsp;&nbsp;2.108.0),&nbsp; **Intel&nbsp;C++&nbsp;Compiler&nbsp;Classic**&nbsp;(2021.9.0&nbsp;&nbsp;2021.10.0) |
| **Windows**&nbsp;≳10,&nbsp;11 | **Microsoft&nbsp;Visual&nbsp;C/C++**&nbsp;(17.6&nbsp;&nbsp;17.9.5),&nbsp; **Clang‑CL**&nbsp;(16.0.6&nbsp;&nbsp;18.1.3),&nbsp; **GCC‑MinGW**&nbsp;(12.2.1&nbsp;&nbsp;14.0.1),&nbsp; **LLVM‑MinGW**&nbsp;(15.0&nbsp;&nbsp;18.1.3),&nbsp; **Embarcadero&nbsp;C++**&nbsp;(7.20&nbsp;&nbsp;7.70),&nbsp; **OrangeC**&nbsp;(≳6.71.10) |
| **Windows**&nbsp;≳10,&nbsp;11 | **Microsoft&nbsp;Visual&nbsp;C/C++**&nbsp;(17.6&nbsp;&nbsp;17.9.6),&nbsp; **Clang‑CL**&nbsp;(16.0.6&nbsp;&nbsp;18.1.3),&nbsp; **GCC‑MinGW**&nbsp;(12.2.1&nbsp;&nbsp;14.0.1),&nbsp; **LLVM‑MinGW**&nbsp;(15.0&nbsp;&nbsp;18.1.3),&nbsp; **Embarcadero&nbsp;C++**&nbsp;(7.20&nbsp;&nbsp;7.70),&nbsp; **OrangeC**&nbsp;(≳6.71.10) |
| **Cygwin**&nbsp;3.4 | **GCC**&nbsp;(11.2&nbsp;&nbsp;13.2.1) |
| **FreeBSD**&nbsp;≳11.3 | **GCC**&nbsp;(11.4&nbsp;&nbsp;13.2.1),&nbsp; **Clang**&nbsp;(10&nbsp;&nbsp;17.0.6),&nbsp; **DMD&nbsp;ImportC**&nbsp;(2.105.0&nbsp;&nbsp;2.108.0) |
| **NetBSD**&nbsp;9.2 | **GCC**&nbsp;(7.5&nbsp;&nbsp;13.2),&nbsp; **Clang**&nbsp;(15.0.7&nbsp;&nbsp;17.0.6) |
Expand Down

0 comments on commit f0186dc

Please sign in to comment.