name: generic-dev on: pull_request: branches: [ dev, release, actionsTest ] jobs: # Dev PR jobs that still have to be migrated from travis # # versionTag (only on release tags) # valgrindTest (keeps failing for some reason. need investigation) # staticAnalyze (need trusty so need self-hosted) # pcc-fuzz: (need trusty so need self-hosted) # min-decomp-macros (flakey) # # setting up self-hosted is pretty straightforward, but # I need admins permissions to the repo for that it looks like # So I'm tabling that for now # # The release branch exclusive jobs will be in a separate # workflow file (the osx tests and meson build that is) benchmarking: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: make benchmarking run: make benchmarking test: runs-on: ubuntu-latest env: DEVNULLRIGHTS: 1 READFROMBLOCKDEVICE: 1 steps: - uses: actions/checkout@v2 - name: make test run: make test check-32bit: # designed to catch https://github.com/facebook/zstd/issues/2428 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: make check on 32-bit run: | sudo apt update APT_PACKAGES="gcc-multilib" make apt-install CFLAGS="-m32 -O1 -fstack-protector" make check V=1 gcc-7-libzstd: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: gcc-7 + libzstdmt compilation run: | make gcc7install CC=gcc-7 CFLAGS=-Werror make -j all make clean LDFLAGS=-Wl,--no-undefined make -C lib libzstd-mt # candidate test (to check) : underlink test # LDFLAGS=-Wl,--no-undefined : will make the linker fail if dll is underlinked gcc-8-asan-ubsan-testzstd: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: gcc-8 + ASan + UBSan + Test Zstd run: | make gcc8install CC=gcc-8 CFLAGS="-Werror" make -j all make clean CC=gcc-8 make -j uasan-test-zstd