From 59be756e0eb46beda9e2141c6c57d9c9e760f399 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Fri, 13 Sep 2024 01:51:46 -0400 Subject: [PATCH] ci: add CI jobs for TI compilers --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4d01e0..db93e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,3 +122,42 @@ jobs: LDFLAGS: '/LIBPATH:C:\Progra~1\PellesC\lib /LIBPATH:C:\Progra~1\PellesC\Lib\Win64' working-directory: test run: make -f Makefile.pelles + + ti: + runs-on: ubuntu-latest + strategy: + matrix: + include: + - tool: ARM + version: 20.2.7.LTS + compiler: armcl + - tool: MSP + version: 21.6.1.LTS + compiler: cl430 + - tool: C2000 + version: 22.6.1.LTS + compiler: cl2000 + - tool: C6000 + version: 8.3.13 + compiler: cl6x + - tool: C7000 + version: 4.1.0.LTS + compiler: cl7x + - tool: PRU + version: 2.3.3 + compiler: clpru + steps: + - uses: actions/checkout@v4 + - name: Install Compiler + run: | + curl -s -o installer.bin "$(curl -s "https://www.ti.com/tool/download/${{ matrix.tool }}-CGT/${{ matrix.version }}" | grep -oP 'https://[a-zA-Z0-9\._\-/]+\.bin')" + chmod u+x installer.bin + ./installer.bin --mode unattended --unattendedmodeui none --prefix ti-compiler + mv ti-compiler/* ti-compiler/compiler + - name: List + run: ls ti-compiler/compiler/bin + - name: Compile + env: + CC: ../ti-compiler/compiler/bin/${{ matrix.compiler }} + working-directory: test + run: make