aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linux-build.yml')
-rw-r--r--.github/workflows/linux-build.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml
new file mode 100644
index 0000000..53858a8
--- /dev/null
+++ b/.github/workflows/linux-build.yml
@@ -0,0 +1,34 @@
+on: push
+
+name: Linux Build
+
+jobs:
+ # 32-bit, clang
+ build32:
+ runs-on: ubuntu-latest
+ env:
+ CFLAGS: -m32
+ CC: clang
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v2
+ - run: sudo apt-get install clang gcc-multilib
+ - run: ./bootstrap
+ - run: ./configure --enable-remote-bitbang --enable-jtag_vpi --disable-target64
+ - run: make
+ - run: file src/openocd | grep 32-bit
+
+
+ # 64-bit, gcc
+ build64:
+ runs-on: ubuntu-latest
+ env:
+ CFLAGS: -m64
+ CC: gcc
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v2
+ - run: ./bootstrap
+ - run: ./configure --enable-remote-bitbang --enable-jtag_vpi
+ - run: make
+ - run: file src/openocd | grep 64-bit