Skip to content

Commit

Permalink
Merge pull request #259 from garybuhrmaster/ci
Browse files Browse the repository at this point in the history
build.yml: Use workaround for macOS builds of Tk
  • Loading branch information
garybuhrmaster authored Jan 12, 2025
2 parents 388b6e4 + 8f63583 commit cbcdcfd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,22 @@ jobs:
- name: Install dependencies
run: brew install perl cpanminus openssl sqlite tcl-tk

- name: Create compiler ccflags C std override for older sources
run: |
echo "package CCflagsConfig;" >> /tmp/CCflagsConfig.pm
echo "use warnings;" >> /tmp/CCflagsConfig.pm
echo "use Config;" >> /tmp/CCflagsConfig.pm
echo "my \$ccflags = \$Config{ccflags};" >> /tmp/CCflagsConfig.pm
echo "\$ccflags .= ' -std=c89';" >> /tmp/CCflagsConfig.pm
echo "my \$obj = tied %Config;" >> /tmp/CCflagsConfig.pm
echo "\$obj->{ccflags} = \$ccflags;" >> /tmp/CCflagsConfig.pm
echo "1;" >> /tmp/CCflagsConfig.pm
- name: Install perl requirements that require older C standard
run: >
PERL5LIB="/tmp" PERL5OPT="-MCCflagsConfig" perl /opt/homebrew/bin/cpanm --notest --no-interactive
Tk
- name: Install perl requirements
run: >
perl /opt/homebrew/bin/cpanm --notest --no-interactive
Expand All @@ -430,7 +446,6 @@ jobs:
Memoize
SOAP::Lite
Term::ProgressBar
Tk
Tk::TableMatrix
Unicode::String
Unicode::UTF8simple
Expand Down

0 comments on commit cbcdcfd

Please sign in to comment.