Skip to content

Commit

Permalink
Upd version
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Apr 26, 2024
2 parents c7f3ac5 + a833d6b commit c006c4d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,18 @@ jobs:
tags: ghcr.io/thingsdb/node:${{ steps.get_version.outputs.VERSION }}
labels: ${{ steps.meta.outputs.labels }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image (arm64)
uses: docker/build-push-action@v5
with:
context: .
push: true
file: docker/arm64.Dockerfile
tags: ghcr.io/thingsdb/node:arm64-${{ steps.get_version.outputs.VERSION }}
platforms: linux/amd64,linux/arm64/v8
labels: ${{ steps.meta.outputs.labels }}
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
context: .
push: true
file: docker/gcloud.Dockerfile
tags: ghcr.io/thingsdb/node:gcloud-${{ steps.get_version.outputs.VERSION }}
tags: ghcr.io/thingsdb/node:gcloud-${{ steps.get_version.outputs.VERSION }},ghcr.io/thingsdb/node:gcloud
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker image (full)
Expand All @@ -53,7 +53,7 @@ jobs:
context: .
push: true
file: docker/full.Dockerfile
tags: ghcr.io/thingsdb/node:full-${{ steps.get_version.outputs.VERSION }}
tags: ghcr.io/thingsdb/node:full-${{ steps.get_version.outputs.VERSION }},ghcr.io/thingsdb/node:full
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker image (minimal)
Expand All @@ -65,11 +65,18 @@ jobs:
tags: ghcr.io/thingsdb/node:${{ steps.get_version.outputs.VERSION }},ghcr.io/thingsdb/node:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push Docker image (arm64)
uses: docker/build-push-action@v5
with:
context: .
push: true
file: docker/arm64.Dockerfile
tags: ghcr.io/thingsdb/node:arm64-${{ steps.get_version.outputs.VERSION }}
tags: ghcr.io/thingsdb/node:arm64-${{ steps.get_version.outputs.VERSION }},ghcr.io/thingsdb/node:arm64
platforms: linux/amd64,linux/arm64/v8
labels: ${{ steps.meta.outputs.labels }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.6.1

* Add support for ARM64 container, pr #377 (@rickmoonex).

# v1.6.0

* Listen to `THINGSDB_INIT`, `THINGSDB_SECRET` and `THINGSDB_DEPLOY` environment variable.
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-type-limits")

# Turn off AVX and BMI2 instructions for legacy systems
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mno-avx")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mno-bmi2")

# Include directories for MacOS build
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
include_directories(
Expand Down
2 changes: 1 addition & 1 deletion inc/ti/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* "-rc0"
* ""
*/
#define TI_VERSION_PRE_RELEASE "-alpha0"
#define TI_VERSION_PRE_RELEASE "-alpha2"

#define TI_MAINTAINER \
"Jeroen van der Heijden <[email protected]>"
Expand Down

0 comments on commit c006c4d

Please sign in to comment.