diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5214bcb..63a0414 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -32,7 +32,7 @@ jobs: os: [ubuntu-latest, macos-latest] steps: - uses: actions/checkout@v3 - - uses: goto-bus-stop/setup-zig@v1 + - uses: goto-bus-stop/setup-zig@v2 with: version: master - run: make install-deps @@ -40,10 +40,17 @@ jobs: run: make all - name: zig compile run: zig build -Dquick=true - - name: Test + - name: Test core if: matrix.os == 'ubuntu-latest' run: | zig build -Dcpu=baseline --verbose TEST_BINARY=./zig-out/bin/test-core valgrind --leak-check=full --tool=memcheck \ --show-leak-kinds=all --error-exitcode=1 ${TEST_BINARY} + + - name: Test discussion + if: matrix.os == 'ubuntu-latest' + run: | + TEST_BINARY=./zig-out/bin/test-discussion + valgrind --leak-check=full --tool=memcheck \ + --show-leak-kinds=all --error-exitcode=1 ${TEST_BINARY} diff --git a/.github/workflows/lisp-ci.yml b/.github/workflows/lisp-ci.yml index e0443cd..d16dbfb 100644 --- a/.github/workflows/lisp-ci.yml +++ b/.github/workflows/lisp-ci.yml @@ -24,13 +24,16 @@ jobs: - uses: purcell/setup-emacs@master with: version: ${{ matrix.emacs_version }} + - uses: goto-bus-stop/setup-zig@v2 + with: + version: master - uses: actions/checkout@v3 - name: Install dependencies run: | make install-deps - name: Compile dyn run: | - OMG_VERBOSE=1 OMG_TEST=1 make clean emacs-dyn + OMG_VERBOSE=1 OMG_TEST=1 make clean all - name: Run test working-directory: emacs env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c17ff9a..bcc653f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Build Emacs dynamic module run: | which brew && export PKG_CONFIG_PATH="$(brew --prefix)/opt/sqlite/lib/pkgconfig" - make emacs-dyn + make all - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: