Skip to content

Commit b97dd39

Browse files
committed
Don't run swig on CI
1 parent 7456f1b commit b97dd39

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
env:
1212
PLATFORM: x86_64-linux
1313
TAGLIB_VERSION: 1.11.1
14+
SKIP_SWIG: true
1415
steps:
1516
- uses: actions/checkout@v2
1617
- uses: actions/setup-ruby@v1

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ import 'tasks/gemspec_check.rake'
3333
# by Swig. Since the ExtensionTasks depend on the *_wrap.cxx files,
3434
# compiling the extensions will trigger Swig, which is not desired as
3535
# those files have already been generated and there's no reason to make
36-
# Swig a variable of the CI. To prevent those dependencies, do not import
37-
# swig.rake when running in Travis.
38-
import 'tasks/swig.rake' unless ENV['TRAVIS'] == 'true'
36+
# Swig a variable of the CI. The environment variable can be set to
37+
# prevent running swig.
38+
import 'tasks/swig.rake' unless ENV['SKIP_SWIG'] == 'true'

0 commit comments

Comments
 (0)