mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
install gtk3 on osx for package testing (#14388)
This commit is contained in:
2
.github/workflows/ci_packages.yml
vendored
2
.github/workflows/ci_packages.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
valgrind libc6-dbg libblas-dev
|
||||
- name: 'Install dependencies (macOS)'
|
||||
if: runner.os == 'macOS'
|
||||
run: brew install boehmgc make sfml
|
||||
run: brew install boehmgc make sfml gtk+3
|
||||
- name: 'Install dependencies (Windows)'
|
||||
if: runner.os == 'Windows'
|
||||
shell: bash
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import os
|
||||
|
||||
template pkg1(name: string; hasDeps = false; cmd = "nimble test"; url = ""): untyped =
|
||||
packages1.add((name, cmd, hasDeps, url))
|
||||
|
||||
@@ -75,11 +73,6 @@ pkg2 "neo", true, "nim c -d:blas=openblas tests/all.nim"
|
||||
pkg2 "nesm"
|
||||
# pkg2 "nico", true
|
||||
pkg2 "nicy", false, "nim c -r src/nicy.nim"
|
||||
when defined(osx):
|
||||
# xxx: do this more generally by installing non-nim dependencies automatically
|
||||
# as specified in nimble file and calling `distros.foreignDepInstallCmd`, but
|
||||
# it currently would fail work if a package is already installed.
|
||||
doAssert execShellCmd("brew ls --versions gtk+3 || brew install gtk+3") == 0
|
||||
pkg2 "nigui", false, "nim c -o:niguii -r src/nigui.nim"
|
||||
pkg2 "NimData", true, "nim c -o:nimdataa src/nimdata.nim"
|
||||
pkg2 "nimes", true, "nim c src/nimes.nim"
|
||||
|
||||
Reference in New Issue
Block a user