toybox/.github/workflows/toybox.yml
Rob Landley 635f1e0391 Work around another gcc bug, where --as-needed breaks libasan. This
dies with a null pointer dereference calling crypt():

gcc -fsanitize=address -static-libasan -xc - -Wl,--as-needed -lcrypt \
  <<<$'#include<crypt.h>\nint main(void){crypt("one", "two");}' &&
  ./a.out
2025-07-02 13:04:51 -05:00

33 lines
608 B
YAML

name: toybox CI
on:
schedule:
- cron: '0 2 * * *'
push:
branches: [ master ]
jobs:
MacOS-13:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setup
run: brew install gnu-sed
- name: Configure
run: make macos_defconfig
- name: Build
run: make
- name: Test
run: VERBOSE=all make tests
Ubuntu-22_04:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup
run: sudo apt-get install build-essential
- name: Configure build and test
run: VERBOSE=all CC=clang make defconfig tests