Skip to content

Commit

Permalink
Hello deno! (#58)
Browse files Browse the repository at this point in the history
* Hello deno

* Fix extension check for bloody_indiana_jones.rs

Remove the unwrap. If the extension is not found then skip

* Add octocrab dep

* DENO

move. fix

* Add deno to executors

* Add deno to build tests

* Deno cache path

Bypassing the limit using Azure CDN.
No auth, only cache.
Cache by querystring so it can be DDOSed.
Best I could come up with in order for the build to build.

* Test redirect URL

* No deno test for alpine

* Add deno to readme
  • Loading branch information
eirikb authored Jul 23, 2023
1 parent ec20bd8 commit f4896f4
Show file tree
Hide file tree
Showing 11 changed files with 507 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macOS-11, macOS-12 ]
cmd: [ "node@14 -v", "node@14 -e 'console.log(1)'", "npm@14 -v", "npx@14 -v", "java -version", "java@11 -version", "java@+lts -version", "gradle@7 -version", "gradle -version", "maven -v", "openapi version", "rat -V", "run:java@14 java -version" ]
cmd: [ "node@14 -v", "node@14 -e 'console.log(1)'", "npm@14 -v", "npx@14 -v", "java -version", "java@11 -version", "java@+lts -version", "gradle@7 -version", "gradle -version", "maven -v", "openapi version", "rat -V", "run:java@14 java -version", "deno -V" ]

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
strategy:
matrix:
os: [ windows-2019, windows-2022 ]
cmd: [ "node@14 -v", "node@14 -e 'console.log(1)'", "npm@14 -v", "npx@14 -v", "java -version", "java@11 -version", "java@+lts -version", "gradle@7 -version", "gradle -version", "maven -v", "openapi version", "rat -V", "run:java@14 java -version" ]
cmd: [ "node@14 -v", "node@14 -e 'console.log(1)'", "npm@14 -v", "npx@14 -v", "java -version", "java@11 -version", "java@+lts -version", "gradle@7 -version", "gradle -version", "maven -v", "openapi version", "rat -V", "run:java@14 java -version", "deno -V" ]

runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ sh gg.cmd npm install
| <img src="https://user-images.githubusercontent.com/241706/231713130-ba667ff2-a129-47be-9d06-9e68e6815108.png" width="100px"> | **java** | | JAVA_HOME | jdk<br/>jre<br/>lts<br/>sts<br/>mts<br/>ea<br/>ga<br/>headless<br/>headfull<br/>fx | +jdk<br/>+ga |
| <img src="https://user-images.githubusercontent.com/241706/231999543-61a192f0-7931-495d-a845-fdd855e690e5.png" width="100px"> | **maven**<br/>**mvn** | java | | | |
| <img src="https://github.com/eirikb/gg/assets/241706/4d8be751-4680-4cc8-a939-f7ee6fac841f" width="100px"> | **openapi** | java | | beta | |
| <img src="https://github.com/eirikb/gg/assets/241706/71b42988-bf62-49d3-b675-b2e526b3a8cc" width="100px"> | **deno** | | | | |

## OS / Arch support table

Expand Down
2 changes: 1 addition & 1 deletion src/stage3/main-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int __cdecl main() {
struct addrinfo *result = NULL, *ptr = NULL, hints;
char path[1000];
snprintf(path, 1000, "/%s", hash);
const char *host = "gg.eirikb.no";
const char *host = "ggcmd.z13.web.core.windows.net";
char header[1024];
snprintf(header, sizeof(header), "GET %s HTTP/1.1\r\nHost: %s\r\n\r\n", path,
host);
Expand Down
2 changes: 1 addition & 1 deletion src/stage3/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

int main() {
const long bufferSize = 65536;
const char *host = "gg.eirikb.no";
const char *host = "ggcmd.z13.web.core.windows.net";

char path[1000];
snprintf(path, 1000, "/%s", hash);
Expand Down
Loading

0 comments on commit f4896f4

Please sign in to comment.