From 4d5588e9c88344d952870fcb3af4085af83c86df Mon Sep 17 00:00:00 2001 From: rask24 Date: Wed, 14 Feb 2024 20:43:06 +0900 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 6 +----- test/check_allowed_functions.sh | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc0d181..9c4ccb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Run Norminette run: make norm build: - name: Build + Check allowed functions + name: build + check allowed functions runs-on: macos-12 steps: - name: Checkout repository @@ -30,10 +30,6 @@ jobs: run: make bonus - name: Build push_swap run: make - - name: check - run: nm -u push_swap - - name: check2 - run: nm -u checker - name: check allowed_functions run: test/check_allowed_functions.sh unit_test: diff --git a/test/check_allowed_functions.sh b/test/check_allowed_functions.sh index ecbc1da..a76c4f7 100755 --- a/test/check_allowed_functions.sh +++ b/test/check_allowed_functions.sh @@ -15,7 +15,7 @@ check_binary_symbols() { done } -allowed_functions=("read" "write" "malloc" "free" "exit" "error") +allowed_functions=("read" "write" "malloc" "free" "exit" "error" "dyld_stub_binder") # Check symbols for push_swap check_binary_symbols "push_swap"