Skip to content

Commit

Permalink
Use GemStone/S 64 v3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Apr 9, 2024
1 parent 55532ca commit 680a2ac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build and Publish Docker images
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/ba-st/gs64-rowan:v3.7.0
FROM ghcr.io/ba-st/gs64-rowan:v3.7.1

COPY stone-ci.sh /opt/gemstone/stone-ci.sh

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 GitHub Actions for Buenos Aires Smalltalk
Copyright (c) 2023-2024 GitHub Actions for Buenos Aires Smalltalk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![GS64-3.6.6](https://img.shields.io/badge/GS64-3.6.6-informational)](https://gemtalksystems.com/products/gs64/)
[![GS64-3.7.0](https://img.shields.io/badge/GS64-3.7.0-informational)](https://gemtalksystems.com/products/gs64/)
[![GS64-3.7.1](https://img.shields.io/badge/GS64-3.7.0-informational)](https://gemtalksystems.com/products/gs64/)

A docker-based GitHub action to load and test code in a GemStone/S 64 image.

Expand All @@ -16,24 +17,26 @@ For example:

```yml
name: 'GS64 Unit Tests'

on: [push,pull,workflow_dispatch]

on:
- push
- pull
- workflow_dispatch
jobs:
testing:
runs-on: ubuntu-latest
name: GS64 Unit Tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Load code and run tests
uses: ba-st-actions/gs64-ci@v2
uses: ba-st-actions/gs64-ci@v3
with:
project_name: 'Currency-API'
run_tests: 'true'
```
- `v1` supports GS64 3.6.6
- `v2` supports GS64 3.7.0
- `v3` supports GS64 3.7.1

When running, the workflow will map the `{GITHUB_WORKSPACE}` directory of the
runner to `{ROWAN_PROJECTS_HOME}/{project_name}` inside the container running GS.
Expand Down
4 changes: 1 addition & 3 deletions stone-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ fi
if [ ! -f "${GEMSTONE_EXE_CONF}/${STONE_SERVICE_NAME}.conf" ]; then
touch "${GEMSTONE_EXE_CONF}/${STONE_SERVICE_NAME}.conf"
fi
echo "GEM_TEMPOBJ_CACHE_SIZE = 500000KB;" >> "${GEMSTONE_SYS_CONF}/system.conf"
# Workaroung for bug in the native code generator for GS 3.7.0
echo "GEM_NATIVE_CODE_ENABLED = 0;" >> "${GEMSTONE_SYS_CONF}/system.conf"
echo "GEM_TEMPOBJ_CACHE_SIZE = 500MB;" >> "${GEMSTONE_SYS_CONF}/system.conf"
echo "::endgroup::"

echo "::group::Starting GemStone services"
Expand Down

0 comments on commit 680a2ac

Please sign in to comment.