Skip to content

Commit dde0d85

Browse files
authored
Update for 0.4.0 release (#18)
* Update versions for Scala Native 0.4.0 * Update README and build versions * Compile with Scala Native 0.4.0 * First github action test * Add install for libcblas * Update ci, release, readme, and scalafmt scripts
1 parent 522aab4 commit dde0d85

File tree

8 files changed

+35
-9
lines changed

8 files changed

+35
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ name: CI
33
on:
44
pull_request:
55
push:
6-
branches: [ master ]
6+
branches: [ master main]
77

88
jobs:
99
build:
1010
runs-on: ubuntu-18.04
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Set up JDK 1.8
14-
uses: actions/setup-java@v1
15-
with:
16-
java-version: 1.8
13+
- uses: olafurpg/setup-scala@v10
1714
- name: Install Dependencies
1815
run: |
1916
sudo apt-get update

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [master, main]
5+
tags: ["*"]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
- uses: olafurpg/setup-scala@v10
14+
- name: Install Dependencies
15+
run: |
16+
sudo apt-get update
17+
sudo apt-get install -y libatlas-base-dev
18+
- run: sbt ci-release
19+
env:
20+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
21+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
22+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
23+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ IBM Website:
8282

8383
## Versions
8484

85-
Release [0.3.0](https://github.com/ekrich/sblas/releases/tag/v0.3.0) - (2021-01-25)<br/>
85+
Release [0.3.0](https://github.com/ekrich/sblas/releases/tag/v0.3.0) - (2021-03-20)<br/>
8686
Release [0.2.0](https://github.com/ekrich/sblas/releases/tag/v0.2.0) - (2019-12-05)<br/>
8787
Release [0.1.1](https://github.com/ekrich/sblas/releases/tag/v0.1.1) - (2019-05-01)<br/>

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ val nextVersion = "0.3.0"
44

55
val scala211 = "2.11.12"
66
val scala212 = "2.12.13"
7-
val scala213 = "2.13.4"
8-
val scala300 = "3.0.0-M3"
7+
val scala213 = "2.13.5"
8+
val scala300 = "3.0.0"
99

1010
val versionsNative = Seq(scala212, scala211, scala213)
1111

scripts/.scalafmt-2.4.2

-12.1 KB
Binary file not shown.
12 KB
Binary file not shown.

scripts/git-release

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
# Release script from Olafur
3+
set -eux
4+
version=$1
5+
# f option (force) allows a republish with the same versions
6+
git tag -af "v$version" -m "v$version" && git push -f origin v$version

scripts/scalafmt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# set -x
44

55
HERE="`dirname $0`"
6-
VERSION="2.4.2"
6+
VERSION="2.7.5"
77
COURSIER="$HERE/.coursier"
88
SCALAFMT="$HERE/.scalafmt-$VERSION"
99

0 commit comments

Comments
 (0)