{"id":29427585,"url":"https://github.com/joshtynjala/github-actions-flexunit-air-sdk-sample","last_synced_at":"2025-07-12T13:09:48.161Z","repository":{"id":301397716,"uuid":"1009109355","full_name":"joshtynjala/github-actions-flexunit-air-sdk-sample","owner":"joshtynjala","description":"A sample ActionScript 3.0 project for the Adobe AIR SDK that runs automated tests using FlexUnit ","archived":false,"fork":false,"pushed_at":"2025-06-27T17:45:29.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T17:41:01.292Z","etag":null,"topics":["actionscript","adobe-air","air","as3","flexunit","github-actions"],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshtynjala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T15:35:06.000Z","updated_at":"2025-06-27T17:48:26.000Z","dependencies_parsed_at":"2025-06-26T17:43:57.626Z","dependency_job_id":null,"html_url":"https://github.com/joshtynjala/github-actions-flexunit-air-sdk-sample","commit_stats":null,"previous_names":["joshtynjala/github-actions-flexunit-air-sdk-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshtynjala/github-actions-flexunit-air-sdk-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fgithub-actions-flexunit-air-sdk-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fgithub-actions-flexunit-air-sdk-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fgithub-actions-flexunit-air-sdk-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fgithub-actions-flexunit-air-sdk-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshtynjala","download_url":"https://codeload.github.com/joshtynjala/github-actions-flexunit-air-sdk-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshtynjala%2Fgithub-actions-flexunit-air-sdk-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264995895,"owners_count":23695061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actionscript","adobe-air","air","as3","flexunit","github-actions"],"created_at":"2025-07-12T13:09:29.279Z","updated_at":"2025-07-12T13:09:48.147Z","avatar_url":"https://github.com/joshtynjala.png","language":"ActionScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Actions with FlexUnit and the Adobe AIR SDK\n\nLearn to set up [Github Actions](https://github.com/actions/) to run your [FlexUnit tests](https://flex.apache.org/flexunit/tutorial/) using the ASC 2.0 compiler in the [Adobe AIR SDK](https://airsdk.dev).\n\n## Download FlexUnit\n\nFlexUnit is maintained by the Apache Flex project. The latest stable release of FlexUnit is available for download from the following URL:\n\n- https://flex.apache.org/download-flexunit.html\n\nDownload **Binaries (tar.gz)** on macOS or Linux, or **Binaries (zip)** on Windows. You can download a Source release of FlexUnit instead, if you prefer, but you will need to compile it yourself.\n\n## Using FlexUnit with the Adobe AIR SDK and Compiler\n\nWhile FlexUnit includes _Flex_ in its name, it does not strictly require the Flex SDK to use. You may use FlexUnit with the ASC 2.0 compiler that is included with the Adobe AIR SDK, with some very minor tweaks that are easy to do.\n\nFirst, extract the downloaded archive. We're interested in the _flexunit_ sub-directory, which contains a number compiled SWC libraries. To use FlexUnit with the AIR SDK, we need to remove one of these SWC libraries.\n\nLook for the _.swc_ file with a name similar to _flexunit-x.y.z-YYYYMMDD-**flex**\\_a.b.c.swc_. That's the one we need to remove. There is another one with a similar name,  _flexunit-x.y.z-YYYYMMDD-**as3**\\_a.b.c.swc_. We'll keep that one.\n\nOnce you've removed the file, you can add the _flexunit_ sub-directory to the library path in your project's compiler options. If you were to compile from the command line, you might compile your test project like this:\n\n```sh\namxmlc --source-path+=src --library-path+=apache-flex-flexunit-4.2.0-4.12.0-bin/flexunit --output bin/Tests.swf src/TestMain.as\n```\n\nWhen you compile, you may see the following warning:\n\n\u003e Warning: The definition mx.utils.ObjectUtil depended on by flexunit.framework.Assert in the SWC /Users/joshtynjala/Development/flash/github-actions-flexunit-air-sdk-sample/flexunit/flexunit/flexunit-4.2.0-20140410-as3_4.12.0.swc could not be found\n\nDo not worry. It seems that this `mx.utils.ObjectUtil` class from the Flex SDK is used by FlexUnit in very specific, limited circumstances only. In all my years of using FlexUnit, I have never encountered an exception thrown at run-time because this class was missing.\n\nThen, you can run your tests using the AIR Debug Launcher.\n\n## Credits\n\nThis sample created by [Josh Tynjala](https://twitter.com/joshtynjala), the author of [Feathers UI](https://feathersui.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fgithub-actions-flexunit-air-sdk-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshtynjala%2Fgithub-actions-flexunit-air-sdk-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshtynjala%2Fgithub-actions-flexunit-air-sdk-sample/lists"}