Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ychin committed Sep 10, 2024
1 parent 1b5597c commit b47ed15
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/actions/universal-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ runs:
- name: Install formula
shell: bash
run: |
set -e
set -x
echo '::group::Install formula'
formula=${{ inputs.formula }}
# This will be a no-op if formula was cached
brew install --quiet --formula -s ./${formula}.rb
brew install --quiet --overwrite --formula -s ./${formula}.rb
# If formula was cached, this step is necessary to relink it to brew prefix (e.g. /usr/local)
brew unlink ${formula} && brew link ${formula}
Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/ci-macvim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -350,25 +350,25 @@ jobs:
run: |
make ${MAKE_BUILD_ARGS} -C src macvim-tests
- name: Build Vim test binaries
run: |
# Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
# separately de-couples them from the timeout in tests, and allow us to build in parallel jobs (since tests
# can't run in parallel).
NPROC=$(getconf _NPROCESSORS_ONLN)
set -o verbose
make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
- name: Test Vim
timeout-minutes: 20
run: make ${MAKE_BUILD_ARGS} test

- name: Test Vim (GUI)
timeout-minutes: 20
run: |
make ${MAKE_BUILD_ARGS} -C src/testdir clean
make ${MAKE_BUILD_ARGS} -C src testgui
# - name: Build Vim test binaries
# run: |
# # Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
# # separately de-couples them from the timeout in tests, and allow us to build in parallel jobs (since tests
# # can't run in parallel).
# NPROC=$(getconf _NPROCESSORS_ONLN)
#
# set -o verbose
# make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
#
# - name: Test Vim
# timeout-minutes: 20
# run: make ${MAKE_BUILD_ARGS} test
#
# - name: Test Vim (GUI)
# timeout-minutes: 20
# run: |
# make ${MAKE_BUILD_ARGS} -C src/testdir clean
# make ${MAKE_BUILD_ARGS} -C src testgui

# Creates a DMG package of MacVim. Note that this doesn't create a GitHub release for us, because we would prefer to
# do it manually, for two reasons: 1) signing / notarization are currently done out of CI, 2) we want to manually
Expand Down

0 comments on commit b47ed15

Please sign in to comment.