Skip to content

Commit

Permalink
Add GH action to check Core loading in GS64
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Sep 13, 2023
1 parent 241c5ca commit bca5fef
Show file tree
Hide file tree
Showing 14 changed files with 151 additions and 22 deletions.
29 changes: 25 additions & 4 deletions .github/workflows/loading-groups.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,36 @@
name: Baseline groups

on: [push,pull_request,workflow_dispatch]
on:
- push
- pull_request
- workflow_dispatch

jobs:
group-loading:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
load-spec: [ deployment, dependent-sunit-extensions, tests, development, tools, examples, core, healthcheck, metrics, metrics-http, json-rpc, app-control, app-info, app-config, loggers ]
smalltalk:
- Pharo64-8.0
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
load-spec:
- app-config
- app-control
- app-info
- core
- dependent-sunit-extensions
- deployment
- development
- examples
- healthcheck
- json-rpc
- loggers
- metrics
- metrics-http
- tests
- tools
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
steps:
- uses: actions/checkout@v3
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/loading-gs64-components.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'GS64 Components Loading'
on:
- push
- pull_request
- workflow_dispatch
jobs:
component-loading:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
load-spec:
- Core
name: GS64 + ${{ matrix.load-spec }}
steps:
- uses: actions/checkout@v3
- name: Load component in image
uses: ba-st-actions/gs64-ci@v2
with:
project_name: 'Stargate'
load_spec: 'Stargate-${{ matrix.load-spec }}'
6 changes: 4 additions & 2 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Markdown Lint
on: [pull_request,workflow_dispatch]
on:
- pull_request
- workflow_dispatch
jobs:
remark-lint:
name: runner / markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: markdownlint
uses: reviewdog/action-markdownlint@v0
with:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Release Notifications

on:
release:
types: [published]

on: workflow_dispatch
jobs:
notify:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Shellcheck

on: [push,pull_request]

on:
- push
- pull_request
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run Shellcheck
uses: reviewdog/action-shellcheck@v1
with:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Unit Tests

on: [push,pull_request,workflow_dispatch]

name: Pharo Unit Tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
smalltalk:
- Pharo64-8.0
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
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) 2018-2022 Buenos Aires Smalltalk Contributors
Copyright (c) 2018-2023 Buenos Aires Smalltalk Contributors

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
33 changes: 33 additions & 0 deletions rowan/components/Core.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
RwSimpleProjectLoadComponentV2 {
#name : 'Core',
#projectNames : [
'Hyperspace',
'JSONWebToken',
'Teapot'
],
#componentNames : [ ],
#packageNames : [
'Stargate-Model',
'Stargate-Extensions',
'Stargate-GS64-Extensions',
'Stargate-JSONWebToken-Extensions',
'Stargate-NeoJSON-Extensions',
'Stargate-Teapot-Extensions'.
'Stargate-Zinc-Extensions'
],
#conditionalPackageMapSpecs : {
'gemstone' : {
'allusers' : {
#packageNameToPlatformPropertiesMap : {
'Stargate-Model' : { 'symbolDictName' : 'Stargate' },
'Stargate-Extensions' : { 'symbolDictName' : 'Globals' },
'Stargate-GS64-Extensions' : { 'symbolDictName' : 'Globals' },
'Stargate-JSONWebToken-Extensions' : { 'symbolDictName' : 'JSONWebToken' },
'Stargate-NeoJSON-Extensions' : { 'symbolDictName' : 'NeoJSON' },
'Stargate-Teapot-Extensions' : { 'symbolDictName' : 'TeapotGS' },
'Stargate-Zinc-Extensions' : { 'symbolDictName' : 'Zinc' }
}
}
}
}
}
11 changes: 11 additions & 0 deletions rowan/project.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
RwProjectSpecificationV2 {
#specName : 'project',
#projectSpecPath : 'rowan',
#componentsPath : 'rowan/components',
#packagesPath : 'source',
#projectsPath : 'rowan/projects',
#specsPath : 'rowan/specs',
#packageFormat : 'tonel',
#packageConvention : 'Rowan',
#comment : 'Stargate project specification'
}
10 changes: 10 additions & 0 deletions rowan/projects/Hyperspace.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RwLoadSpecificationV2 {
#specName: 'Hyperspace',
#projectName : 'Hyperspace',
#gitUrl : 'https://github.com/ba-st/Hyperspace.git',
#revision : 'v5',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Deployment'
]
}
10 changes: 10 additions & 0 deletions rowan/projects/JSONWebToken.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RwLoadSpecificationV2 {
#specName: 'JSONWebToken',
#projectName : 'JSONWebToken',
#gitUrl : 'https://github.com/ba-st-dependencies/JSONWebToken.git',
#revision : 'v1',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Deployment'
]
}
10 changes: 10 additions & 0 deletions rowan/projects/Teapot.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
RwLoadSpecificationV2 {
#specName: 'Teapot',
#projectName : 'Teapot',
#gitUrl : 'https://github.com/ba-st-dependencies/Teapot.git',
#revision : 'v2',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Deployment'
]
}
9 changes: 9 additions & 0 deletions rowan/specs/Stargate-Core.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
RwLoadSpecificationV2 {
#specName: 'Stargate-Core',
#projectName : 'Stargate',
#diskUrl : 'Stargate',
#projectSpecFile : 'rowan/project.ston',
#componentNames : [
'Core'
]
}
3 changes: 2 additions & 1 deletion source/.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
#format : #tonel
#format : #tonel,
#convention : 'Rowan'
}

0 comments on commit bca5fef

Please sign in to comment.