Skip to content

Commit ce5bf59

Browse files
authored
Update tensorflow and macOS / CI (#166)
* Update tensorflow and macOS / CI * Update Linux tensorflow version * Update Linux tensorflow version back * Update Linux tensorflow to 2.18 * Update Linux URL
1 parent 55c038c commit ce5bf59

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
os: [ubuntu-22.04, macos-13]
14-
java: [ '17' ]
13+
os: [ubuntu-22.04, macos-14]
14+
java: [ '17', '21' ]
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- name: Checkout current branch (full)
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup (Linux)
2727
if: startsWith(matrix.os, 'ubuntu')
2828
run: |
29-
curl -fsSL https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.15.0.tar.gz \
29+
curl -fsSL https://storage.googleapis.com/tensorflow/versions/2.18.0/libtensorflow-cpu-linux-x86_64.tar.gz \
3030
-o ~/libtensorflow.tar.gz
3131
mkdir -p ~/tensorflow && tar -xzf ~/libtensorflow.tar.gz -C ~/tensorflow
3232
- name: Setup (macOS)

stensorflow/src/test/scala/org/ekrich/tensorflow/unsafe/TensorflowTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import org.ekrich.tensorflow.unsafe.tensorflowEnums._
1313

1414
class TensorflowTest {
1515

16-
val tfMinVersion = "2.15"
16+
val tfMinVersion = "2.18"
1717

1818
// major, minor
1919
case class Version(major: Int, minor: Int) extends Ordered[Version] {
@@ -42,7 +42,7 @@ class TensorflowTest {
4242
val swVersion = version(tfVersion)
4343
val minVersion = version(tfMinVersion)
4444
assertTrue(
45-
s"Looking for version: $tfMinVersion",
45+
s"Version: $minVersion, not <= $swVersion",
4646
minVersion <= swVersion
4747
)
4848
}

0 commit comments

Comments
 (0)