From 384b6205935ca524509e9c3736c2d71af17b1a28 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 19 Nov 2020 14:21:02 +0000 Subject: First shot at github actions Linux build --- .github/workflows/linux-build.yml | 47 +++++++++++++++++++++++++++++++++++++++ .travis.yml | 1 + 2 files changed, 48 insertions(+) create mode 100644 .github/workflows/linux-build.yml diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml new file mode 100644 index 0000000..3974499 --- /dev/null +++ b/.github/workflows/linux-build.yml @@ -0,0 +1,47 @@ +name: Linux +on: [push] +jobs: + gcc: + runs-on: ubuntu-latest + strategy: + matrix: + cfgopt: + - "" + - "--disable-shared" + - "--disable-xft" + - "--disable-xss" + - "--enable-symbols" + defaults: + run: + shell: bash + working-directory: unix + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Prepare + run: touch ../doc/man.macros tkStubInit.c;sudo apt-get install tcl8.6-dev libx11-dev libxss-dev + working-directory: generic + - name: Configure ${{ matrix.cfgopt }} + run: | + mkdir "${HOME}/install" + ./configure ${CFGOPT} "--prefix=$HOME/install" || (cat config.log && exit 1) + env: + CFGOPT: ${{ matrix.cfgopt }} + - name: Build + run: | + make binaries libraries + - name: Build Test Harness + run: | + make tktest +# - name: Run Tests +# run: | +# make test + - name: Test-Drive Installation + run: | + make install + - name: Create Distribution Package + run: | + make dist + - name: Convert Documentation to HTML + run: | + make html-tk diff --git a/.travis.yml b/.travis.yml index 6fd1194..e8da2cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ addons: - gcc-multilib - tcl8.6-dev - libx11-dev + - libxss-dev - xvfb homebrew: packages: -- cgit v0.12