18
18
build_and_test_apple :
19
19
strategy :
20
20
matrix :
21
- platform : [macos-11 ]
21
+ platform : [macos-14 ]
22
22
runs-on : ${{ matrix.platform }}
23
- env :
24
- MG_VERSION : " 1.4.0"
25
23
steps :
26
24
- name : Set-up repository
27
25
uses : actions/checkout@v2
42
40
fail-fast : false
43
41
matrix :
44
42
include :
45
- - os : windows-2019
43
+ - os : windows-2022
46
44
env :
47
45
VCPKG_ROOT : " ${{ github.workspace }}\\ vcpkg"
48
46
deps : " openssl:x64-windows"
78
76
build_and_test_linux :
79
77
strategy :
80
78
matrix :
81
- platform : [ubuntu-20.04, ubuntu-22 .04]
82
- mgversion : ["2.0.0", "2.3 .0"]
79
+ platform : [ubuntu-24 .04]
80
+ mgversion : ["2.19 .0"]
83
81
packages : ["gcc g++ clang"]
84
82
gcc-postfix : [""]
85
83
clang-postfix : [""]
@@ -100,11 +98,11 @@ jobs:
100
98
if : steps.cache-memgraph-docker.outputs.cache-hit != 'true'
101
99
run : |
102
100
mkdir ~/memgraph
103
- curl -L https://memgraph.com/download /memgraph/v${{ matrix.mgversion }}/docker/memgraph-${{ matrix.mgversion }}-docker.tar.gz > ~/memgraph/memgraph-docker.tar.gz
101
+ curl -L https://download. memgraph.com/memgraph/v${{ matrix.mgversion }}/docker/memgraph-${{ matrix.mgversion }}-docker.tar.gz > ~/memgraph/memgraph-docker.tar.gz
104
102
- name : Load and run Memgraph Docker image
105
103
run : |
106
104
docker load -i ~/memgraph/memgraph-docker.tar.gz
107
- docker run -d -p 7687:7687 memgraph --telemetry-enabled=false
105
+ docker run -d -p 7687:7687 memgraph/memgraph --telemetry-enabled=false
108
106
- name : Build with gcc, test and install mgclient
109
107
run : |
110
108
mkdir build-gcc && cd build-gcc
@@ -128,11 +126,11 @@ jobs:
128
126
# Memgraph has to be started manually because systemd is not available on
129
127
# WSL (init process does not exist).
130
128
build_and_test_windows_mingw :
131
- runs-on : windows-2019
129
+ runs-on : windows-2022
132
130
strategy :
133
131
matrix :
134
132
include : [
135
- { msystem: MINGW64, arch: x86_64, mgversion: "1.4 .0" }
133
+ { msystem: MINGW64, arch: x86_64, mgversion: "2.19 .0" }
136
134
]
137
135
defaults :
138
136
run :
@@ -147,14 +145,15 @@ jobs:
147
145
install : git base-devel mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-cmake mingw-w64-${{ matrix.arch }}-openssl
148
146
- uses : Vampire/setup-wsl@v1
149
147
with :
150
- distribution : Ubuntu-18 .04
148
+ distribution : Ubuntu-22 .04
151
149
- name : Download, install and run Memgraph under WSL
152
150
shell : wsl-bash {0} # root shell
153
151
run : |
154
152
mkdir ~/memgraph
155
- curl -L https://download.memgraph.com/memgraph/v${{matrix.mgversion}}/ubuntu-18.04/memgraph_${{matrix.mgversion}}-community-1_amd64.deb --output ~/memgraph/memgraph-community.deb
156
- dpkg -i ~/memgraph/memgraph-community.deb
157
- nohup /usr/lib/memgraph/memgraph --bolt-port 7687 --bolt-cert-file="" --bolt-key-file="" --data-directory="~/memgraph/data" --storage-properties-on-edges=true --storage-snapshot-interval-sec=0 --storage-wal-enabled=false --storage-recover-on-startup=false --storage-snapshot-on-exit=false --telemetry-enabled=false --log-file='' &
153
+ # https://download.memgraph.com/memgraph/v2.19.0/ubuntu-24.04/memgraph_2.19.0-1_amd64.deb
154
+ curl -L https://download.memgraph.com/memgraph/v${{matrix.mgversion}}/ubuntu-22.04/memgraph_${{matrix.mgversion}}-1_amd64.deb --output ~/memgraph/memgraph.deb
155
+ dpkg -i ~/memgraph/memgraph.deb
156
+ nohup /usr/lib/memgraph/memgraph --bolt-port 7687 --bolt-cert-file="" --bolt-key-file="" --data-directory="~/memgraph/data" --storage-properties-on-edges=true --storage-snapshot-interval-sec=0 --storage-wal-enabled=false --data-recovery-on-startup=false --storage-snapshot-on-exit=false --telemetry-enabled=false --log-file='' &
158
157
sleep 1 # Wait for Memgraph a bit.
159
158
- name : Build and test mgclient
160
159
run : |
@@ -167,7 +166,7 @@ jobs:
167
166
build_and_test_linux_wasm :
168
167
strategy :
169
168
matrix :
170
- platform : [ubuntu-20 .04]
169
+ platform : [ubuntu-24 .04]
171
170
runs-on : ${{ matrix.platform }}
172
171
steps :
173
172
- name : Set-up repository
0 commit comments