Skip to content

Commit

Permalink
further CI fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Nov 29, 2023
1 parent 1a554f7 commit 45d9f40
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ jobs:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: yes
HOMEBREW_NO_ENV_HINTS: yes
HOMEBREW_NO_ANALYTICS: yes
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv/
token: ${{ secrets.GH_PAT }}
sparse-checkout: |
getargv/include/libgetargv.h
sparse-checkout-cone-mode: false
- run: mv getargv/include/libgetargv.h /usr/local/include/libgetargv.h
- name: check
run: "make LIBVER=$(sw_vers -ProductVersion) lint"

Expand All @@ -34,17 +43,17 @@ jobs:
- macos-13
- macos-12
- macos-11
runs-on: ${{ matrix.os }}c
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: getargv/getargv
path: getargv
token: ${{ secrets.GH_PAT }}
- name: Build libgetargv
run: make install_dylib
working-directory: getargv
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: getargv.cpp
- name: install deps
Expand Down Expand Up @@ -86,7 +95,7 @@ jobs:
- macos-11
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: make exe
run: make CPU_FLAGS="" MACOS_VER_MINOR=0 release
- name: make CPU_FLAGS="" MACOS_VER_MINOR=0 library
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ docs:
db: compile_commands.json

compile_commands.json: Makefile
bear -- make -B dylib
bear -- make -B $(OBJECTS)

clean:
@$(RM) -rf $(OBJ_DIR) $(LIB_DIR) docs
Expand Down

0 comments on commit 45d9f40

Please sign in to comment.