Skip to content

Commit

Permalink
Merge pull request #486 from kaby76/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kaby76 authored Sep 21, 2024
2 parents 26565bb + 222d580 commit d064b9a
Show file tree
Hide file tree
Showing 259 changed files with 8,038 additions and 749 deletions.
216 changes: 216 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"version": 1,
"isRoot": true,
"tools": {
"tranalyze": {
"version": "0.23.6",
"commands": [
"tranalyze"
],
"rollForward": false
},
"trcaret": {
"version": "0.23.6",
"commands": [
"trcaret"
],
"rollForward": false
},
"trclonereplace": {
"version": "0.23.6",
"commands": [
"trclonereplace"
],
"rollForward": false
},
"trcombine": {
"version": "0.23.6",
"commands": [
"trcombine"
],
"rollForward": false
},
"trconvert": {
"version": "0.23.6",
"commands": [
"trconvert"
],
"rollForward": false
},
"trcover": {
"version": "0.23.6",
"commands": [
"trcover"
],
"rollForward": false
},
"trdot": {
"version": "0.23.6",
"commands": [
"trdot"
],
"rollForward": false
},
"trfoldlit": {
"version": "0.23.6",
"commands": [
"trfoldlit"
],
"rollForward": false
},
"trgen": {
"version": "0.23.6",
"commands": [
"trgen"
],
"rollForward": false
},
"trgenvsc": {
"version": "0.23.6",
"commands": [
"trgenvsc"
],
"rollForward": false
},
"trglob": {
"version": "0.23.6",
"commands": [
"trglob"
],
"rollForward": false
},
"triconv": {
"version": "0.23.6",
"commands": [
"triconv"
],
"rollForward": false
},
"tritext": {
"version": "0.23.6",
"commands": [
"tritext"
],
"rollForward": false
},
"trjson": {
"version": "0.23.6",
"commands": [
"trjson"
],
"rollForward": false
},
"trparse": {
"version": "0.23.6",
"commands": [
"trparse"
],
"rollForward": false
},
"trperf": {
"version": "0.23.6",
"commands": [
"trperf"
],
"rollForward": false
},
"trquery": {
"version": "0.23.6",
"commands": [
"trquery"
],
"rollForward": false
},
"trrename": {
"version": "0.23.6",
"commands": [
"trrename"
],
"rollForward": false
},
"trsort": {
"version": "0.23.6",
"commands": [
"trsort"
],
"rollForward": false
},
"trsplit": {
"version": "0.23.6",
"commands": [
"trsplit"
],
"rollForward": false
},
"trsponge": {
"version": "0.23.6",
"commands": [
"trsponge"
],
"rollForward": false
},
"trtext": {
"version": "0.23.6",
"commands": [
"trtext"
],
"rollForward": false
},
"trtokens": {
"version": "0.23.6",
"commands": [
"trtokens"
],
"rollForward": false
},
"trtree": {
"version": "0.23.6",
"commands": [
"trtree"
],
"rollForward": false
},
"trunfold": {
"version": "0.23.6",
"commands": [
"trunfold"
],
"rollForward": false
},
"trungroup": {
"version": "0.23.6",
"commands": [
"trungroup"
],
"rollForward": false
},
"trwdog": {
"version": "0.23.6",
"commands": [
"trwdog"
],
"rollForward": false
},
"trxgrep": {
"version": "0.23.6",
"commands": [
"trxgrep"
],
"rollForward": false
},
"trxml": {
"version": "0.23.6",
"commands": [
"trxml"
],
"rollForward": false
},
"trxml2": {
"version": "0.23.6",
"commands": [
"trxml2"
],
"rollForward": false
}
}
}
145 changes: 90 additions & 55 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,59 +22,94 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- name: Install dos2unix
run: |
sudo apt-get install tofrodos
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
- uses: actions/checkout@v3
- name: Install dos2unix
run: |
sudo apt-get install tofrodos
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
- name: Setup PHP
id: setup-php
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
ini-values: xdebug.max_nesting_level=1000
- name: Print PHP version
run: |
echo ${{ steps.setup-php.outputs.php-version }}
php --version
- name: Install Dotnet
uses: actions/[email protected]
with:
dotnet-version: '8.0.x'
- name: Test Dotnet
run: |
dotnet --version
dotnet --info
dotnet --list-runtimes
dotnet --list-sdks
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'zulu'
- name: Test Java
run: |
dotnet --version
java --version
javac --version
- name: Install Dart
uses: dart-lang/setup-dart@v1
- name: Test Dart
run: |
dart --version
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '^1.21.0'
cache: false
- name: Test Go
run: |
go version
- name: Install Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Test Python
run: |
python --version
- name: Upgrade Pip.
run: |
python -m ensurepip --upgrade
- name: Test Pip.
run: |
pip --version
- name: Install Antlr tool
run: |
pip install antlr4-tools
- name: Install JavaScript
uses: actions/[email protected]
with:
node-version: '21.7.3'
- name: Install npm
run: |
npm install -g npm
npm --version
- name: Test JavaScript
run: |
node --version
- name: ts-node typescript tsx
run: |
npm i -g ts-node typescript tsx
ts-node --version
tsc --version
npx -v
npx tsx -v
- name: Build
run: |
make build
make install
- name: Install Dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Check Dotnet env
run: |
dotnet --version
dotnet --info
dotnet --list-runtimes
dotnet --list-sdks
- name: Install Dart
uses: dart-lang/setup-dart@v1
- name: Do not trust Dart env
run: |
dart --version
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
- name: Do not trust Go env
run: |
go version
- name: Install Python
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Do not trust Python env
run: |
python --version
- name: Install JavaScript
uses: actions/[email protected]
with:
node-version: '16.13.0'
- name: Do not trust JavaScript env
run: |
node --version
- name: Build
run: |
make build
make install
- name: Test
run: |
cd _tests
bash all-tests.sh
- name: Test
run: |
cd _tests
bash all-tests.sh
21 changes: 21 additions & 0 deletions _scripts/install-local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/bash
set -x
dotnet new tool-manifest
cd src
dirs=`find . -name net8.0 | fgrep 'bin/Release' | fgrep -v Generated | grep '^./tr' | fgrep -v publish | sort -u`
for i in $dirs
do
d=`echo $i | awk -F '/' '{print $2}'`
pushd $i
if [ ! -f $d.dll ]
then
popd
continue
fi
popd
pushd $d
tool=$d
dotnet tool install $tool
dotnet $tool -- --version
popd
done
2 changes: 1 addition & 1 deletion _scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/bash
version=0.23.5
version=0.23.6
cd src
exes=`find . -name 'tr*.exe' | grep -v publish`
for i in $exes
Expand Down
Loading

0 comments on commit d064b9a

Please sign in to comment.