File tree 4 files changed +52
-8
lines changed
4 files changed +52
-8
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,28 @@ jobs:
14
14
build :
15
15
strategy :
16
16
matrix :
17
- os : [ windows-latest ]
17
+ os : [ ubuntu-latest, macos-latest, windows-latest ]
18
18
smalltalk : [ Pharo64-11 ]
19
19
runs-on : ${{ matrix.os }}
20
20
name : ${{ matrix.smalltalk }} on ${{ matrix.os }}
21
21
steps :
22
22
- uses : actions/checkout@v4
23
23
with :
24
24
fetch-depth : 0
25
+
26
+ # For ubuntu only
27
+ - name : Install zmq library for Ubuntu
28
+ if : matrix.os == 'ubuntu-latest'
29
+ run : |
30
+ sudo apt-get update
31
+ sudo apt-get install -y libzmq3-dev
32
+
33
+ # For macos only
34
+ - name : Install zmq library for MacOS
35
+ if : matrix.os == 'macos-latest'
36
+ run : |
37
+ brew install zeromq
38
+
25
39
- uses : hpi-swa/setup-smalltalkCI@v1
26
40
with :
27
41
smalltalk-image : ${{ matrix.smalltalk }}
Original file line number Diff line number Diff line change @@ -14,14 +14,28 @@ jobs:
14
14
build :
15
15
strategy :
16
16
matrix :
17
- os : [ windows-latest ]
17
+ os : [ ubuntu-latest, macos-latest, windows-latest ]
18
18
smalltalk : [ Pharo64-12 ]
19
19
runs-on : ${{ matrix.os }}
20
20
name : ${{ matrix.smalltalk }} on ${{ matrix.os }}
21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
with :
24
24
fetch-depth : 0
25
+
26
+ # For ubuntu only
27
+ - name : Install zmq library for Ubuntu
28
+ if : matrix.os == 'ubuntu-latest'
29
+ run : |
30
+ sudo apt-get update
31
+ sudo apt-get install -y libzmq3-dev
32
+
33
+ # For macos only
34
+ - name : Install zmq library for MacOS
35
+ if : matrix.os == 'macos-latest'
36
+ run : |
37
+ brew install zeromq
38
+
25
39
- uses : hpi-swa/setup-smalltalkCI@v1
26
40
with :
27
41
smalltalk-image : ${{ matrix.smalltalk }}
Original file line number Diff line number Diff line change @@ -14,14 +14,28 @@ jobs:
14
14
build :
15
15
strategy :
16
16
matrix :
17
- os : [ windows-latest ]
17
+ os : [ ubuntu-latest, macos-latest, windows-latest ]
18
18
smalltalk : [ Pharo64-13 ]
19
19
runs-on : ${{ matrix.os }}
20
20
name : ${{ matrix.smalltalk }} on ${{ matrix.os }}
21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
with :
24
24
fetch-depth : 0
25
+
26
+ # For ubuntu only
27
+ - name : Install zmq library for Ubuntu
28
+ if : matrix.os == 'ubuntu-latest'
29
+ run : |
30
+ sudo apt-get update
31
+ sudo apt-get install -y libzmq3-dev
32
+
33
+ # For macos only
34
+ - name : Install zmq library for MacOS
35
+ if : matrix.os == 'macos-latest'
36
+ run : |
37
+ brew install zeromq
38
+
25
39
- uses : hpi-swa/setup-smalltalkCI@v1
26
40
with :
27
41
smalltalk-image : ${{ matrix.smalltalk }}
Original file line number Diff line number Diff line change @@ -27,19 +27,21 @@ LibZMQ class >> repositoryDirectory [
27
27
^ myRepository location
28
28
]
29
29
30
- { #category : #' accessing platform' }
30
+ { #category : #' accessing - platform' }
31
31
LibZMQ >> macLibraryName [
32
32
33
- ^ (self class repositoryDirectory / ' include' / ' libzmq.dylib' ) asFileReference pathString
33
+ " ^ (self class repositoryDirectory / 'include' / 'libzmq.dylib') asFileReference pathString"
34
+ ^ FFIMacLibraryFinder findLibrary: ' libzmq.dylib'
34
35
]
35
36
36
- { #category : #' accessing platform' }
37
+ { #category : #' accessing - platform' }
37
38
LibZMQ >> unixLibraryName [
38
39
39
- ^ (self class repositoryDirectory / ' include' / ' libzmq.so' ) asFileReference pathString
40
+ " ^ (self class repositoryDirectory / 'include' / 'libzmq.so') asFileReference pathString"
41
+ ^ FFIUnix32LibraryFinder findLibrary: ' libzmq.so'
40
42
]
41
43
42
- { #category : #' accessing platform' }
44
+ { #category : #' accessing - platform' }
43
45
LibZMQ >> win32LibraryName [
44
46
45
47
^ (self class repositoryDirectory / ' include' / ' zmq.dll' ) asFileReference pathString
You can’t perform that action at this time.
0 commit comments