Skip to content

O2 for distribution #163

O2 for distribution

O2 for distribution #163

Workflow file for this run

name: ubuntu-latest
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: dbg
run: |
set -x
ld -v
ldd --version
g++ -v
- run: make nix
- env:
MKN_GCC_PREFERRED: 1
KUL_GIT_CO: --depth 1
run: |
ldd mkn
KLOG=3 ./mkn build -dtKa "-std=c++17 -fPIC" -O 2 -g 0 -W 9
KLOG=3 ./mkn build -Op test_mod -a "-std=c++17 -fPIC" -O 2 -g 0 -W 9
KLOG=3 ./mkn build test pack -Op test -a "-std=c++17 -fPIC" -O 2 -g 0 -W 9
ldd bin/build/mkn
- uses: actions/upload-artifact@v3
with:
name: mkn
path: bin/build/mkn